4. Pixmaps

Pixmaps are images stored at X server. They are used mainly for fast drawing.

typedef void MT_PIXMAP;

MT_PIXMAP *mt_pixmap_new_from_xpm(char **xpm_data);
MT_PIXMAP *mt_pixmap_new_from_image(MT_IMAGE *img);
void       mt_pixmap_destroy(MT_PIXMAP *pixmap);