XListPixmapFormats()XListPixmapFormats()NameXListPixmapFormats – obtain the supported pixmap formats for a given
server.
Synopsis
XPixmapFormatValues *XListPixmapFormats(display, count_return)
Display *display;
int *count_return;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
count_return
Returns the number of pixmap formats that are supported by
the server.
Returns
A list of structures describing pixmap formats.
Availability
Release 4 and later.
DescriptionXListPixmapFormats() 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, XListPixmapFor‐
mats() returns NULL. To free the allocated storage for the XPixmapFor‐
matValues structures, use XFree().
Structures
typedef struct {
int depth;
int bits_per_pixel;
int scanline_pad;
} XPixmapFormatValues;
See AlsoXListDepths().
Xlib - Window Manager Hints XListPixmapFormats()