nanogui@linuxhacker.org
nanogui@linuxhacker.org
: I am currently mapping X function calls to nano-X and have come across a
bit of difficulty with images. Does anyone have advice for converting
XImages to nano-X?
Are you interested in converting static images for Nano-X, or converting
the Xlib calls XGetImage, XPutPixel, and XPutImage?
If it's the latter, the best option currently is to create a new offscreen
window using GrNewPixmap, and then use the normal drawing functions
to draw the image, and then GrCopyArea to blit the image over.
Regards,
Greg
nanogui@linuxhacker.org