nanogui: [nanogui] GrCopyArea


Previous by date: 15 Aug 2001 16:51:16 -0000 Re: X-games, doom, hexen ..., Greg Haerr
Next by date: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr
Previous in thread: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr
Next in thread: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr

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

How would one set the "transparent" color?

On Wednesday 15 August 2001 10:15, Greg Haerr mentioned:
> /* 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?
>
> -- As Jordan said, there aren't yet transparent blitters implemented
> in the fblin*.c files, so this won't work yet.  The first fix is to
> implement the ROP case in your fblinXXX.c driver.  Then, you should (once)
> copy the image into a GrNewPixmap, and destroy the image id.  At that
> point, you can use GrCopyArea with an ROP (since the pixmap is
> based on a PSD), which will end up passing the ROP to the
> driver blit function.
>
> Regards,
>
> Greg
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 15 Aug 2001 16:51:16 -0000 Re: X-games, doom, hexen ..., Greg Haerr
Next by date: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr
Previous in thread: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr
Next in thread: 15 Aug 2001 16:51:16 -0000 Re: GrCopyArea, Greg Haerr


Powered by ezmlm-browse 0.20.