nanogui: Graphics Plane Support
Subject:
Re: [nanogui] Graphics Plane Support
From:
"Greg Haerr" ####@####.####
Date:
10 Jun 2008 23:36:03 -0000
Message-Id: <015d01c8cb52$fde3f130$6401a8c0@winXP>
: 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