


ImageByteOrder(3X11)					 ImageByteOrder(3X11)
X11R5									X11R5



NAME
  ImageByteOrder, BitmapBitOrder, BitmapPad, BitmapUnit, DisplayHeight,
  DisplayHeightMM, DisplayWidth, DisplayWidthMM, XListPixmapFormats, XPixmap-
  FormatValues - image format functions	and macros

SYNTAX
  XPixmapFormatValues *XListPixmapFormats(_d_i_s_p_l_a_y, _c_o_u_n_t__r_e_t_u_r_n)
	Display	*_d_i_s_p_l_a_y;
	int *_c_o_u_n_t__r_e_t_u_r_n;

  ImageByteOrder(_d_i_s_p_l_a_y)

  BitmapBitOrder(_d_i_s_p_l_a_y)

  BitmapPad(_d_i_s_p_l_a_y)

  BitmapUnit(_d_i_s_p_l_a_y)

  DisplayHeight(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r)

  DisplayHeightMM(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r)

  DisplayWidth(_d_i_s_p_l_a_y,	_s_c_r_e_e_n__n_u_m_b_e_r)

  DisplayWidthMM(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r)

ARGUMENTS

  _d_i_s_p_l_a_y   Specifies the connection to	the X server.

  _c_o_u_n_t__r_e_t_u_r_n
	    Returns the	number of pixmap formats that are supported by the
	    display.

  _s_c_r_e_e_n__n_u_m_b_e_r
	    Specifies the appropriate screen number on the host	server.

DESCRIPTION
  The _X_L_i_s_t_P_i_x_m_a_p_F_o_r_m_a_t_s function returns an array of _X_P_i_x_m_a_p_F_o_r_m_a_t_V_a_l_u_e_s
  structures that describe the types of	Z format images	supported by the
  specified display.  If insufficient memory is	available, _X_L_i_s_t_P_i_x_m_a_p_F_o_r_m_a_t_s
  returns NULL.	 To free the allocated storage for the _X_P_i_x_m_a_p_F_o_r_m_a_t_V_a_l_u_e_s
  structures, use _X_F_r_e_e.

  The _I_m_a_g_e_B_y_t_e_O_r_d_e_r macro specifies the required byte order for images	for
  each scanline	unit in	XY format (bitmap) or for each pixel value in Z	for-
  mat.

  The _B_i_t_m_a_p_B_i_t_O_r_d_e_r macro returns _L_S_B_F_i_r_s_t or _M_S_B_F_i_r_s_t	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 _B_i_t_m_a_p_P_a_d	macro returns the number of bits that each scanline must be
  padded.

  The _B_i_t_m_a_p_U_n_i_t macro returns the size	of a bitmap's scanline unit in bits.


  The _D_i_s_p_l_a_y_H_e_i_g_h_t macro returns the height of	the specified screen in	pix-
  els.

  The _D_i_s_p_l_a_y_H_e_i_g_h_t_M_M macro returns the	height of the specified	screen in
  millimeters.

  The _D_i_s_p_l_a_y_W_i_d_t_h macro returns the width of the screen in pixels.

  The _D_i_s_p_l_a_y_W_i_d_t_h_M_M macro returns the width of	the specified screen in	mil-
  limeters.

STRUCTURES
  The _X_P_i_x_m_a_p_F_o_r_m_a_t_V_a_l_u_e_s structure provides an	interface to the pixmap	for-
  mat 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(3X11), BlackPixelOfScreen(3X11), IsCursorKey(3X11),	XFree(3X11)
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e	delim off









































