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 [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 5:08 AM To: Aveek Adhya; nanogui@linuxhacker.org 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]