home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / displaywidthmm.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ImageByteOrder(3X11)      XLIB FUNCTIONS     ImageByteOrder(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        ImageByteOrder, BitmapBitOrder, BitmapPad, BitmapUnit,
  9.        DisplayHeight, DisplayHeightMM, DisplayWidth, Display-
  10.        WidthMM, XListPixmapFormats, XPixmapFormatValues - image
  11.        format functions and macros
  12.  
  13. SSYYNNTTAAXX
  14.        XPixmapFormatValues *XListPixmapFormats(_d_i_s_p_l_a_y,
  15.        _c_o_u_n_t___r_e_t_u_r_n)
  16.          Display *_d_i_s_p_l_a_y;
  17.          int *_c_o_u_n_t___r_e_t_u_r_n;
  18.  
  19.        ImageByteOrder(_d_i_s_p_l_a_y)
  20.  
  21.        BitmapBitOrder(_d_i_s_p_l_a_y)
  22.  
  23.        BitmapPad(_d_i_s_p_l_a_y)
  24.  
  25.        BitmapUnit(_d_i_s_p_l_a_y)
  26.  
  27.        DisplayHeight(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  28.  
  29.        DisplayHeightMM(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  30.  
  31.        DisplayWidth(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  32.  
  33.        DisplayWidthMM(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  34.  
  35. AARRGGUUMMEENNTTSS
  36.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  37.  
  38.        _c_o_u_n_t___r_e_t_u_r_n
  39.          Returns the number of pixmap formats that are
  40.          supported by the display.
  41.  
  42.        _s_c_r_e_e_n___n_u_m_b_e_r
  43.          Specifies the appropriate screen number on the
  44.          host server.
  45.  
  46. DDEESSCCRRIIPPTTIIOONN
  47.        The _X_L_i_s_t_P_i_x_m_a_p_F_o_r_m_a_t_s function returns an array of
  48.        _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
  49.        Z format images supported by the specified display.  If
  50.        insufficient memory is available, _X_L_i_s_t_P_i_x_m_a_p_F_o_r_m_a_t_s
  51.        returns NULL.  To free the allocated storage for the
  52.        _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.
  53.  
  54.        The _I_m_a_g_e_B_y_t_e_O_r_d_e_r macro specifies the required byte order
  55.        for images for each scanline unit in XY format (bitmap) or
  56.        for each pixel value in Z format.
  57.  
  58.        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
  59.        indicate whether the leftmost bit in the bitmap as dis-
  60.        played on the screen is the least or most significant bit
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ImageByteOrder(3X11)      XLIB FUNCTIONS     ImageByteOrder(3X11)
  71.  
  72.  
  73.        in the unit.
  74.  
  75.        The _B_i_t_m_a_p_P_a_d macro returns the number of bits that each
  76.        scanline must be padded.
  77.  
  78.        The _B_i_t_m_a_p_U_n_i_t macro returns the size of a bitmap's scan-
  79.        line unit in bits.
  80.  
  81.        The _D_i_s_p_l_a_y_H_e_i_g_h_t macro returns the height of the speci-
  82.        fied screen in pixels.
  83.  
  84.        The _D_i_s_p_l_a_y_H_e_i_g_h_t_M_M macro returns the height of the speci-
  85.        fied screen in millimeters.
  86.  
  87.        The _D_i_s_p_l_a_y_W_i_d_t_h macro returns the width of the screen in
  88.        pixels.
  89.  
  90.        The _D_i_s_p_l_a_y_W_i_d_t_h_M_M macro returns the width of the speci-
  91.        fied screen in millimeters.
  92.  
  93. SSTTRRUUCCTTUURREESS
  94.        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
  95.        the pixmap format information that is returned at the time
  96.        of a connection setup.  It contains:
  97.        typedef struct {
  98.         int depth;
  99.         int bits_per_pixel;
  100.         int scanline_pad;
  101.        } XPixmapFormatValues;
  102.  
  103. SSEEEE AALLSSOO
  104.        AllPlanes(3X11), BlackPixelOfScreen(3X11), IsCur-
  105.        sorKey(3X11), XFree(3X11)
  106.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.