nanogui: Graphics Plane Support


Previous by date: 12 Jun 2008 09:47:24 -0000 Re: Win32 API for font, ed.hsieh
Next by date: 12 Jun 2008 09:47:24 -0000 Re: two questions..., Greg Haerr
Previous in thread: 12 Jun 2008 09:47:24 -0000 Re: Graphics Plane Support, Greg Haerr
Next in thread: 12 Jun 2008 09:47:24 -0000 Re: Graphics Plane Support, Greg Haerr

Subject: RE: [nanogui] Graphics Plane Support
From: "Aveek Adhya" ####@####.####
Date: 12 Jun 2008 09:47:24 -0000
Message-Id:

Well, consider I am writing an application for TV and the application should
display a simple screen on TV. The screen should be as follows:
1. There is a background image, that is, a gif file displayed as screen
background (implemented using GrSetBackgroundPixmap()).
2. A text is displayed on the top of the background on TV screen.

Now I want that the text background to be transparent. That means the
background image should be displayed from within the text message. Is it
possible using nano-x?
 
Assume there is no video on TV.

Thanks,
Aveek

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Wednesday, June 11, 2008 5:08 AM
To: Aveek Adhya; ####@####.####
Subject: Re: [nanogui] Graphics Plane Support

: But somehow I need to draw one image (may be a button) on the top of 
another
: image (say background image). As only one graphics plane is supported by
: Nano-X I have no choice but to merge two images.

I'm not sure exactly what you're looking for here.  If you're
just talking about drawing twice on a "surface" or "plane",
then nano-X allows that by drawing twice to the screen
memory, or the memory in a "pixmap" created through
GrNewPixmap.  Transparent pixels are handled.
Thus images are drawn on top of backgrounds normally
through all drawing API calls.

What exactly type of drawing are you looking to perform?

Regards,

Greg 


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


Previous by date: 12 Jun 2008 09:47:24 -0000 Re: Win32 API for font, ed.hsieh
Next by date: 12 Jun 2008 09:47:24 -0000 Re: two questions..., Greg Haerr
Previous in thread: 12 Jun 2008 09:47:24 -0000 Re: Graphics Plane Support, Greg Haerr
Next in thread: 12 Jun 2008 09:47:24 -0000 Re: Graphics Plane Support, Greg Haerr


Powered by ezmlm-browse 0.20.