nanogui: How to draw pixmap with transparency


Previous by date: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, Julian Smart
Next by date: 27 Feb 2002 15:38:01 -0000 Nano-X and Arm, Tony Modjdehi
Previous in thread: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, Julian Smart
Next in thread: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, jonathan.foster.philips.com

Subject: Re: [nanogui] How to draw pixmap with transparency
From: Jordan Crouse ####@####.####
Date: 27 Feb 2002 15:38:01 -0000
Message-Id: <1014823804.5896.14.camel@cosmic>

> Has anyone perhaps used a series of GrCopyArea calls with different ROPs
> to draw a pixmap transparently using another pixmap as mask? This is
> what's done in the wxWindows WIN32 port (if the native Windows masked drawing isn't
> implemented). I could try it myself but it would mostly be guesswork since the ROPs
> for Nano-X are likely to be slightly different from WIN32's.

We have a good amount of ROPS, so that might work.  I'm not sure of the
appropriate combinations.
 
> I'm at the point with the wxWindows for Nano-X port where transparent pixmap drawing
> is needed in order for the widget set to render properly...
> 
> A separate question -- is there a Nano-X-approved to way to convert font sizes expressed
> in points to a height in pixels? I currently use the pixels-per-cm value to calculate it
> but I get > 40 pixels for a point size of 12, which is a bit excessive.

Font sizes internally are expressed in pixels (ie, GrGetFontInfo()
returns ascent and height).




Previous by date: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, Julian Smart
Next by date: 27 Feb 2002 15:38:01 -0000 Nano-X and Arm, Tony Modjdehi
Previous in thread: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, Julian Smart
Next in thread: 27 Feb 2002 15:38:01 -0000 Re: How to draw pixmap with transparency, jonathan.foster.philips.com


Powered by ezmlm-browse 0.20.