EZ
Up Prev Next Contents


5.8.4 Pixmaps

Support for pixmaps has been added in release 1.38. To display a pixmap/bitmap on a 3DCanvas, one first call EZ_CreageGLImage to create an image, then use EZ_PutGLImage*** to display the image in the current draw buffer. Relevent routines are the following.

EZ_GLImage *EZ_CreateGLImage(EZ_Pixmap *pix)

void EZ_FreeGLImage(EZ_GLImage *glimage)

void EZ_GetGLImageInfo(EZ_GLImage *glimage, Pixmap *pix_ret, Pixmap *shape_ret, int w_ret, int h_ret)

void EZ_PutGLImage(EZ_GLImage *glimage, int x, int y, int w, int h, float x, float y, float z)

void EZ_PutGLImageScreen(EZ_GLImage *glimage, int x, int y, int w, int h, float x, float y, float z)

void EZ_PutGLImageWindow(EZ_GLImage *glimage, int x, int y, int w, int h, int dx, int dy)

void EZ_PutGLImageXWindow(EZ_GLImage *glimage, int x, int y, int w, int h, int dx, int dy)


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>