DisplayHeightMM(3)


HOME

ImageByteOrder

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
STRUCTURES
SEE ALSO

NAME

ImageByteOrder, BitmapBitOrder, BitmapPad, BitmapUnit, DisplayHeight, DisplayHeightMM, DisplayWidth, DisplayWidthMM, XListPixmapFormats, XPixmapFormatValues − image format functions and macros

SYNTAX

XPixmapFormatValues *XListPixmapFormats(Display *display, int *count_return);

int ImageByteOrder(Display *display);

int BitmapBitOrder(Display *display);

int BitmapPad(Display *display);

int BitmapUnit(Display *display);

int DisplayHeight(Display *display, int screen_number);

int DisplayHeightMM(Display *display, int screen_number);

int DisplayWidth(Display *display, int screen_number);

int DisplayWidthMM(Display *display, int screen_number);

ARGUMENTS

display

Specifies the connection to the X server.

count_return

Returns the number of pixmap formats that are supported by the display.

screen_number

Specifies the appropriate screen number on the host server.

DESCRIPTION

The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format images supported by the specified display. If insufficient memory is available, XListPixmapFormats returns NULL. To free the allocated storage for the XPixmapFormatValues structures, use XFree.

The ImageByteOrder macro specifies the required byte order for images for each scanline unit in XY format (bitmap) or for each pixel value in Z format.

The BitmapBitOrder macro returns LSBFirst or MSBFirst to indicate whether the leftmost bit in the bitmap as displayed on the screen is the least or most significant bit in the unit.

The BitmapPad macro returns the number of bits that each scanline must be padded.

The BitmapUnit macro returns the size of a bitmap’s scanline unit in bits.

The DisplayHeight macro returns the height of the specified screen in pixels.

The DisplayHeightMM macro returns the height of the specified screen in millimeters.

The DisplayWidth macro returns the width of the screen in pixels.

The DisplayWidthMM macro returns the width of the specified screen in millimeters.

STRUCTURES

The XPixmapFormatValues structure provides an interface to the pixmap format information that is returned at the time of a connection setup. It contains:
typedef struct {

int depth;

int bits_per_pixel;

int scanline_pad;

} XPixmapFormatValues;

SEE ALSO

AllPlanes(3), BlackPixelOfScreen(3), IsCursorKey(3), XFree(3)
Xlib − C Language X Interface



More Linux Commands

manpages/TAP::Parser::IteratorFactory.3pm.html
TAP::Parser::IteratorFactory(3pm) - Figures out which Source
This is a factory class that takes a TAP::Parser::Source and runs it through all the registered TAP::Parser::SourceHandlers to see which one should handle the s

manpages/Tk_ChangeWindowAttributes.3.html
Tk_ChangeWindowAttributes(3) - change window configuration o
These procedures are analogous to the X library procedures with similar names, such as XConfigureWindow. Each one of the above procedures calls the correspondin

manpages/ldap_objectclass_free.3.html
ldap_objectclass_free(3) - Schema definition handling routin
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of

manpages/ttytype.5.html
ttytype(5) - terminal device to default terminal type mappin
The /etc/ttytype file associates termcap(5)/terminfo(5) terminal type names with tty lines. Each line consists of a terminal type, followed by whitespace, follo

manpages/lbxproxy.1.html
lbxproxy(1) - Low BandWidth X proxy - Linux manual page.....
Applications that would like to take advantage of the Low Bandwidth extension to X (LBX) must make their connections to an lbxproxy. These applications need to

manpages/Tcl_DeleteTrace.3.html
Tcl_DeleteTrace(3) - arrange for command execution to be tra
Tcl_CreateObjTrace arranges for command tracing. After it is called, objProc will be invoked before the Tcl interpreter calls any command procedure when evaluat

manpages/mm2gv.1.html
mm2gv(1) - Matrix Market-DOT converters - Linux manual page
mm2gv converts a sparse matrix of the Matrix Market format to a graph in the GV (formerly DOT) format. If the matrix M is not square, the graph is considered bi

manpages/asn1_der_decoding_element.3.html
asn1_der_decoding_element(3) - Fill the element named ELEMEN
Fill the element named ELEMENTNAME with values of a DER encoding string. The structure must just be created with function asn1_create_element(). The DER vector

manpages/lynx.1.html
lynx(1) - a general purpose distributed information browser
Lynx is a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices (e.g., vt100 terminals, vt100 emulator

manpages/Tie::RefHash.3pm.html
Tie::RefHash(3pm) - use references as hash keys (Man Page)
This module provides the ability to use references as hash keys if you first tie the hash variable to this module. Normally, only the keys of the tied hash itse

manpages/getttynam.3.html
getttynam(3) - get ttys file entry - Linux manual page......
These functions provide an interface to the file _PATH_TTYS (e.g., /etc/ttys). The function setttyent() opens the file or rewinds it if already open. The functi

manpages/applydeltarpm.8.html
applydeltarpm(8) - reconstruct an rpm from a deltarpm.......
applydeltarpm applies a binary delta to either an old rpm or to on-disk data to re-create a new rpm. The old rpm can be specified with the -r option, if no rpm





We can't live, work or learn in freedom unless the software we use is free.