Re: Bitmap clearing
- Posted by jordah at btopenworld.com Jan 24, 2003
- 383 views
Could u please tell me what u want to do? and i'll write u an include file for those specific routines u need. U will probably get the include file some time sartuday or sunday. i work during the weekend. so even monday at latest. Jordah. I'll try to comment the code well ----- Original Message ----- From: <Patrick.Barnes at transgrid.com.au> To: "EUforum" <EUforum at topica.com> Subject: RE: Bitmap clearing > > Do the Blt procedures work at ALL to pixmap objects? > > How would I copy an image to part of a pixmap object? > > -----Original Message----- > From: Barnes Patrick > Sent: Friday, 24 January 2003 13:05 > To: EUforum > Subject: RE: Bitmap clearing > > > Ok... well what I'm doing is... > > I have an array of pixmaps, all 1024x768 in size. > There is a selection of graphics to be drawn to it, and I want to use stretchBLT to put the images onto the pixmap (This not working - stretchBLT doesn't like it). > Text is just put on with wPuts. > Then, one of those pixmaps is stretchBLT'd out to the window, at whatever size the window is. > > > -----Original Message----- > From: jordah at btopenworld.com [mailto:jordah at btopenworld.com] > Sent: Friday, 24 January 2003 12:46 > To: EUforum > Subject: Re: Bitmap clearing > > > In win32lib, The pixmap(memory bitmap) requires a parent mainly for GDI > resource management. It makes the tracking of resources easier thus making > it faster to clean up > > Jordah > ----- Original Message ----- > From: <Patrick.Barnes at transgrid.com.au> > To: "EUforum" <EUforum at topica.com> > Sent: Friday, January 24, 2003 12:03 AM > Subject: RE: Bitmap clearing > > > > Oh ok... if that's fast enough, then no problem... I just thought there > might be a faster way to do it. > > > > And what's the significance of a bitmap having a parent? I know it doesnt > *need* one. > > > > -----Original Message----- > > From: Wolf [mailto:wolfritz at KING.IGS.NET] > > Sent: Friday, 24 January 2003 10:36 > > To: EUforum > > Subject: Re: Bitmap clearing > > > > > > > If I have a win32lib pixmap, what is the quickest/easiest way to clear > all of it to a given background color? > > > > ... simply: > > setPenColor(yourPix, yourColor) > > drawRectangle(yourPix, 1, 0, 0 ,x_size, y_size) > > > > > > TOPICA - Start your own email discussion group. FREE! > > > > > > *********************************************************************** > > > > > > *********************************************************************** > > > > > > TOPICA - Start your own email discussion group. FREE! > > > > --- > > > TOPICA - Start your own email discussion group. FREE! > > > *********************************************************************** > > > *********************************************************************** > > > TOPICA - Start your own email discussion group. FREE! > > > *********************************************************************** > > > *********************************************************************** > > > > TOPICA - Start your own email discussion group. FREE! > ---