hi,
In this page:
http://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Image_Format_Functions_and_Macros
To obtain the pixmap format information for a given display, use
XListPixmapFormats.
- ImageByteOrder(display)
- int XImageByteOrder(Display *display, int *count_return);
- display Specifies the connection to the X server.
- count_return Returns the number of (Cn.
The XListPixmapFormats function returns an array of XPixmapFormatValues
structures that describe the types of Z format
should be:
To obtain the pixmap format information for a given display, use
XListPixmapFormats.
+ XPixmapFormatValues(Display *display, int *count_return)
+ XPixmapFormatValues *XListPixmapFormats(Display *display, int
*count_return);
+ display Specifies the connection to the X server.
+ count_return Returns the number of pixmap formats that are supported
by the display.
The XListPixmapFormats function returns an array of XPixmapFormatValues
structures that describe the types of Z format
Regards
--
ZHANG Zhaolong
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel