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

  1.  
  2.  
  3.  
  4. AllPlanes(3X11)          XLIB FUNCTIONS      AllPlanes(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        AllPlanes, BlackPixel, WhitePixel, ConnectionNumber,
  9.        DefaultColormap, DefaultDepth, XListDepths, DefaultGC,
  10.        DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen,
  11.        DefaultVisual, DisplayCells, DisplayPlanes, DisplayString,
  12.        XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRe-
  13.        questProcessed, NextRequest, ProtocolVersion, ProtocolRe-
  14.        vision, QLength, RootWindow, ScreenCount, ScreenOfDisplay,
  15.        ServerVendor, VendorRelease - Display macros and functions
  16.  
  17. SSYYNNTTAAXX
  18.        AllPlanes
  19.  
  20.        BlackPixel(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  21.  
  22.        WhitePixel(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  23.  
  24.        ConnectionNumber(_d_i_s_p_l_a_y)
  25.  
  26.        DefaultColormap(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  27.  
  28.        DefaultDepth(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  29.  
  30.        int *XListDepths(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r, _c_o_u_n_t___r_e_t_u_r_n)
  31.          Display *_d_i_s_p_l_a_y;
  32.          int _s_c_r_e_e_n___n_u_m_b_e_r;
  33.          int *_c_o_u_n_t___r_e_t_u_r_n;
  34.  
  35.        DefaultGC(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  36.  
  37.        DefaultRootWindow(_d_i_s_p_l_a_y)
  38.  
  39.        DefaultScreenOfDisplay(_d_i_s_p_l_a_y)
  40.  
  41.        DefaultScreen(_d_i_s_p_l_a_y)
  42.  
  43.        DefaultVisual(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  44.  
  45.        DisplayCells(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  46.  
  47.        DisplayPlanes(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  48.  
  49.        DisplayString(_d_i_s_p_l_a_y)
  50.  
  51.        long XMaxRequestSize(_d_i_s_p_l_a_y)      Display *_d_i_s_p_l_a_y;
  52.  
  53.        long XExtendedMaxRequestSize(_d_i_s_p_l_a_y)      Display
  54.        *_d_i_s_p_l_a_y;
  55.  
  56.        LastKnownRequestProcessed(_d_i_s_p_l_a_y)
  57.  
  58.        NextRequest(_d_i_s_p_l_a_y)
  59.  
  60.        ProtocolVersion(_d_i_s_p_l_a_y)
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. AllPlanes(3X11)          XLIB FUNCTIONS      AllPlanes(3X11)
  71.  
  72.  
  73.        ProtocolRevision(_d_i_s_p_l_a_y)
  74.  
  75.        QLength(_d_i_s_p_l_a_y)
  76.  
  77.        RootWindow(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  78.  
  79.        ScreenCount(_d_i_s_p_l_a_y)
  80.  
  81.        ScreenOfDisplay(_d_i_s_p_l_a_y, _s_c_r_e_e_n___n_u_m_b_e_r)
  82.  
  83.        ServerVendor(_d_i_s_p_l_a_y)
  84.  
  85.        VendorRelease(_d_i_s_p_l_a_y)
  86.  
  87. AARRGGUUMMEENNTTSS
  88.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  89.  
  90.        _s_c_r_e_e_n___n_u_m_b_e_r
  91.          Specifies the appropriate screen number on the
  92.          host server.
  93.  
  94.        _c_o_u_n_t___r_e_t_u_r_n
  95.          Returns the number of depths.
  96.  
  97. DDEESSCCRRIIPPTTIIOONN
  98.        The _A_l_l_P_l_a_n_e_s macro returns a value with all bits set to 1
  99.        suitable for use in a plane argument to a procedure.
  100.  
  101.        The _B_l_a_c_k_P_i_x_e_l macro returns the black pixel value for the
  102.        specified screen.
  103.  
  104.        The _W_h_i_t_e_P_i_x_e_l macro returns the white pixel value for the
  105.        specified screen.
  106.  
  107.        The _C_o_n_n_e_c_t_i_o_n_N_u_m_b_e_r macro returns a connection number for
  108.        the specified display.
  109.  
  110.        The _D_e_f_a_u_l_t_C_o_l_o_r_m_a_p macro returns the default colormap ID
  111.        for allocation on the specified screen.
  112.  
  113.        The _D_e_f_a_u_l_t_D_e_p_t_h macro returns the depth (number of
  114.        planes) of the default root window for the specified
  115.        screen.
  116.  
  117.        The _X_L_i_s_t_D_e_p_t_h_s function returns the array of depths that
  118.        are available on the specified screen.  If the specified
  119.        screen_number is valid and sufficient memory for the array
  120.        can be allocated, _X_L_i_s_t_D_e_p_t_h_s sets count_return to the
  121.        number of available depths.  Otherwise, it does not set
  122.        count_return and returns NULL.  To release the memory
  123.        allocated for the array of depths, use _X_F_r_e_e.
  124.  
  125.        The _D_e_f_a_u_l_t_G_C macro returns the default GC for the root
  126.        window of the specified screen.
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. AllPlanes(3X11)          XLIB FUNCTIONS      AllPlanes(3X11)
  137.  
  138.  
  139.        The _D_e_f_a_u_l_t_R_o_o_t_W_i_n_d_o_w macro returns the root window for
  140.        the default screen.
  141.  
  142.        The _D_e_f_a_u_l_t_S_c_r_e_e_n_O_f_D_i_s_p_l_a_y macro returns the default
  143.        screen of the specified display.
  144.  
  145.        The _D_e_f_a_u_l_t_S_c_r_e_e_n macro returns the default screen number
  146.        referenced in the _X_O_p_e_n_D_i_s_p_l_a_y routine.
  147.  
  148.        The _D_e_f_a_u_l_t_V_i_s_u_a_l macro returns the default visual type
  149.        for the specified screen.
  150.  
  151.        The _D_i_s_p_l_a_y_C_e_l_l_s macro returns the number of entries in
  152.        the default colormap.
  153.  
  154.        The _D_i_s_p_l_a_y_P_l_a_n_e_s macro returns the depth of the root win-
  155.        dow of the specified screen.
  156.  
  157.        The _D_i_s_p_l_a_y_S_t_r_i_n_g macro returns the string that was passed
  158.        to _X_O_p_e_n_D_i_s_p_l_a_y when the current display was opened.
  159.  
  160.        The _X_M_a_x_R_e_q_u_e_s_t_S_i_z_e function returns the maximum request
  161.        size (in 4-byte units) supported by the server without
  162.        using an extended-length protocol encoding.  Single proto-
  163.        col requests to the server can be no larger than this size
  164.        unless an extended-length protocol encoding is supported
  165.        by the server.  The protocol guarantees the size to be no
  166.        smaller than 4096 units (16384 bytes).  Xlib automatically
  167.        breaks data up into multiple protocol requests as neces-
  168.        sary for the following functions: _X_D_r_a_w_P_o_i_n_t_s,
  169.        _X_D_r_a_w_R_e_c_t_a_n_g_l_e_s, _X_D_r_a_w_S_e_g_m_e_n_t_s, _X_F_i_l_l_A_r_c_s,
  170.        _X_F_i_l_l_R_e_c_t_a_n_g_l_e_s, and _X_P_u_t_I_m_a_g_e.
  171.  
  172.        The _X_E_x_t_e_n_d_e_d_M_a_x_R_e_q_u_e_s_t_S_i_z_e function returns zero if the
  173.        specified display does not support an extended-length pro-
  174.        tocol encoding; otherwise, it returns the maximum request
  175.        size (in 4-byte units) supported by the server using the
  176.        extended-length encoding.  The Xlib functions _X_D_r_a_w_L_i_n_e_s,
  177.        _X_D_r_a_w_A_r_c_s, _X_F_i_l_l_P_o_l_y_g_o_n, _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y,
  178.        _X_S_e_t_C_l_i_p_R_e_c_t_a_n_g_l_e_s, and _X_S_e_t_R_e_g_i_o_n will use the extended-
  179.        length encoding as necessary, if supported by the server.
  180.        Use of the extended-length encoding in other Xlib func-
  181.        tions (for example, _X_D_r_a_w_P_o_i_n_t_s, _X_D_r_a_w_R_e_c_t_a_n_g_l_e_s,
  182.        _X_D_r_a_w_S_e_g_m_e_n_t_s, _X_F_i_l_l_A_r_c_s, _X_F_i_l_l_R_e_c_t_a_n_g_l_e_s, _X_P_u_t_I_m_a_g_e) is
  183.        permitted but not required; an Xlib implementation may
  184.        choose to split the data across multiple smaller requests
  185.        instead.
  186.  
  187.        The _L_a_s_t_K_n_o_w_n_R_e_q_u_e_s_t_P_r_o_c_e_s_s_e_d macro extracts the full
  188.        serial number of the last request known by Xlib to have
  189.        been processed by the X server.
  190.  
  191.        The _N_e_x_t_R_e_q_u_e_s_t macro extracts the full serial number that
  192.        is to be used for the next request.
  193.  
  194.  
  195.  
  196. X Version 11           Release 6.1                3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. AllPlanes(3X11)          XLIB FUNCTIONS      AllPlanes(3X11)
  203.  
  204.  
  205.        The _P_r_o_t_o_c_o_l_V_e_r_s_i_o_n macro returns the major version number
  206.        (11) of the X protocol associated with the connected dis-
  207.        play.
  208.  
  209.        The _P_r_o_t_o_c_o_l_R_e_v_i_s_i_o_n macro returns the minor protocol
  210.        revision number of the X server.
  211.  
  212.        The _Q_L_e_n_g_t_h macro returns the length of the event queue
  213.        for the connected display.
  214.  
  215.        The _R_o_o_t_W_i_n_d_o_w macro returns the root window.
  216.  
  217.        The _S_c_r_e_e_n_C_o_u_n_t macro returns the number of available
  218.        screens.
  219.  
  220.        The _S_c_r_e_e_n_O_f_D_i_s_p_l_a_y macro returns a pointer to the screen
  221.        of the specified display.
  222.  
  223.        The _S_e_r_v_e_r_V_e_n_d_o_r macro returns a pointer to a null-
  224.        terminated string that provides some identification of the
  225.        owner of the X server implementation.
  226.  
  227.        The _V_e_n_d_o_r_R_e_l_e_a_s_e macro returns a number related to a ven-
  228.        dor's release of the X server.
  229.  
  230. SSEEEE AALLSSOO
  231.        BlackPixelOfScreen(3X11), ImageByteOrder(3X11), IsCur-
  232.        sorKey(3X11), XOpenDisplay(3X11)
  233.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262. X Version 11           Release 6.1                4
  263.  
  264.  
  265.