nanogui: Doubts regarding Alpha Blending
Subject:
Re: [nanogui] Doubts regarding Alpha Blending
From:
Alex Holden ####@####.####
Date:
12 Feb 2003 09:44:19 -0000
Message-Id: <1045042458.1686.19.camel@hyperspace.local>
On Wed, 2003-02-12 at 06:32, Vidya Srinivas wrote:
> We need to use Alpha blending for our application. We plan to use Nano-X.
> Could you please tell us what are the necessary steps to be done for
> Nano-x to supoort Alpha blending, or is there any patch to support this
> functionality.
I developed quite extensive alpha channel support early last year, but
it wasn't included in the last Microwindows release. It doesn't support
translucent window backgrounds though. If you want to have a look at my
alpha channel code, you can get a copy of my tree (which I haven't
worked on for months) from:
http://www.linuxhacker.org/pub/cvs-snapshots/microwin-aph/
The nbreaker game that's included is probably the best example of what
the alpha channel code can do (you'll need to enable PNG image support
in Nano-X for it to work properly though).
> Also we would like to know if Truetype font is supported by Nano-X. IS it
> similar to microwindows?
Yes, if you set HAVE_FREETYPE_SUPPORT = Y in the config file.
--
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer