nanogui: [nanogui] GrCopyArea


Previous by date: 15 Aug 2001 15:26:49 -0000 Re: X-games, doom, hexen ..., Nikolaj Berntsen
Next by date: 15 Aug 2001 15:26:49 -0000 Re: Get ipaq simulator source code?, Greg Haerr
Previous in thread: 15 Aug 2001 15:26:49 -0000 [nanogui] GrCopyArea, Ib Jørgensen
Next in thread: 15 Aug 2001 15:26:49 -0000 Re: GrCopyArea, Greg Haerr

Subject: Re: [nanogui] GrCopyArea
From: Jordan Crouse ####@####.####
Date: 15 Aug 2001 15:26:49 -0000
Message-Id: <01081509270805.21329@cosmic>

Unfortunately, while MWROP_SRCTRANSCOPY is defined, it has never been 
implemented.  Hopefully this will get changed soon, as there are lots of 
people interested in getting this working.  I don't know who specified these 
defines in the first place (Greg, Alex??) but obviously somebody was 
intending to get them working in the future.

A pixmap is very different from an MWIMAGEHDR.  A pixmap is a drawable window 
that is not drawn on the screen, but rather implemented in memory.  It can be 
drawn to just like a window.  A MWIMAGEHDR (or GR_IMAGE_HDR for clients) is a 
structure that contains information about an image.  These two items are 
completely different, and not associated in any way.  

Jordan

On Wednesday 15 August 2001 09:14, Ib Jørgensen mentioned:
> Hi all
> We are using GrCopyArea to draw pixmaps on the screen and this works out
> very nicely. We would however like to not copy one specific colour.
> This seems to be possible since GrCopyArea takes a ROP to pass to the
> blitter, and in mwtypes.h we find the following definition:
>
> /* copy src -> dst except for transparent color in src*/
> #define MWROP_SRCTRANSCOPY	0x01000000L
>
> Just what we need. Now our problem is to set the correct transparent color
> in the appropriate struct. This should be a  MWIMAGEHDR. - but we only have
> an id to the pixmap we are using - how do we get to the appropriate header?
>
> > Ib Jørgensen  Lead Technical Consultant
> > --------------------------------------------------------------
> > AGENCY.COM Interactive TV
> >
> > Islands Brygge 57, DK 2300 Copenhagen S
> > T: +45 36 93 60 00  F: +45 36 93 30 01
> > Direct: +45 36 93 60 88
> > E: ####@####.####  www.agency.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 15 Aug 2001 15:26:49 -0000 Re: X-games, doom, hexen ..., Nikolaj Berntsen
Next by date: 15 Aug 2001 15:26:49 -0000 Re: Get ipaq simulator source code?, Greg Haerr
Previous in thread: 15 Aug 2001 15:26:49 -0000 [nanogui] GrCopyArea, Ib Jørgensen
Next in thread: 15 Aug 2001 15:26:49 -0000 Re: GrCopyArea, Greg Haerr


Powered by ezmlm-browse 0.20.