1ImageByteOrder(3)               XLIB FUNCTIONS               ImageByteOrder(3)
2
3
4

NAME

6       ImageByteOrder, BitmapBitOrder, BitmapPad, BitmapUnit, DisplayHeight,
7       DisplayHeightMM, DisplayWidth, DisplayWidthMM, XListPixmapFormats,
8       XPixmapFormatValues - image format functions and macros
9

SYNTAX

11       XPixmapFormatValues *XListPixmapFormats(Display *display, int
12              *count_return);
13
14       int ImageByteOrder(Display *display);
15
16       int BitmapBitOrder(Display *display);
17
18       int BitmapPad(Display *display);
19
20       int BitmapUnit(Display *display);
21
22       int DisplayHeight(Display *display, int screen_number);
23
24       int DisplayHeightMM(Display *display, int screen_number);
25
26       int DisplayWidth(Display *display, int screen_number);
27
28       int DisplayWidthMM(Display *display, int screen_number);
29

ARGUMENTS

31       display   Specifies the connection to the X server.
32
33       count_return
34                 Returns the number of pixmap formats that are supported by
35                 the display.
36
37       screen_number
38                 Specifies the appropriate screen number on the host server.
39

DESCRIPTION

41       The XListPixmapFormats function returns an array of XPixmapFormatValues
42       structures that describe the types of Z format images supported by the
43       specified display.  If insufficient memory is available, XListPixmap‐
44       Formats returns NULL.  To free the allocated storage for the XPixmap‐
45       FormatValues structures, use XFree.
46
47       The ImageByteOrder macro specifies the required byte order for images
48       for each scanline unit in XY format (bitmap) or for each pixel value in
49       Z format.
50
51       The BitmapBitOrder macro returns LSBFirst or MSBFirst to indicate
52       whether the leftmost bit in the bitmap as displayed on the screen is
53       the least or most significant bit in the unit.
54
55       The BitmapPad macro returns the number of bits that each scanline must
56       be padded.
57
58       The BitmapUnit macro returns the size of a bitmap's scanline unit in
59       bits.
60
61       The DisplayHeight macro returns the height of the specified screen in
62       pixels.
63
64       The DisplayHeightMM macro returns the height of the specified screen in
65       millimeters.
66
67       The DisplayWidth macro returns the width of the screen in pixels.
68
69       The DisplayWidthMM macro returns the width of the specified screen in
70       millimeters.
71

STRUCTURES

73       The XPixmapFormatValues structure provides an interface to the pixmap
74       format information that is returned at the time of a connection setup.
75       It contains:
76       typedef struct {
77               int depth;
78               int bits_per_pixel;
79               int scanline_pad;
80       } XPixmapFormatValues;
81

SEE ALSO

83       AllPlanes(3), BlackPixelOfScreen(3), IsCursorKey(3), XFree(3)
84       Xlib - C Language X Interface
85
86
87
88X Version 11                     libX11 1.6.7                ImageByteOrder(3)
Impressum