NAME
XListPixmapFormats − obtain the supported pixmap formats for a given server.
Synopsis
XPixmapFormatValues *XListPixmapFormats(display, count_return)
Display *display;
int *count_return;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
count_return
Returns the number of pixmap formats that are supported by the server.
Availability
Release 4 and later.
Description
XListPixmapFormats() returns an array of XPixmapFormatValues structures that describe the types of Z format images that are supported by the specified server. If insufficient memory is available, XListPixmapFormats() returns NULL. To free the allocated storage for the XPixmapFormatValues structures, use XFree().
Structures
typedef struct {
int depth;
int bits_per_pixel;
int scanline_pad;
} XPixmapFormatValues;
See Also
XListDepths().
Copyright O’Reilly & Assoc. —