AllPlanes(3X11) AIX (XLIB FUNCTIONS) AllPlanes(3X11) NAME AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease - Display macros SYNTAX AllPlanes BlackPixel(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) WhitePixel(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) ConnectionNumber(_d_i_s_p_l_a_y) DefaultColormap(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) DefaultDepth(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) 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) Display *_d_i_s_p_l_a_y; int _s_c_r_e_e_n__n_u_m_b_e_r; int *_c_o_u_n_t__r_e_t_u_r_n; DefaultGC(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) DefaultRootWindow(_d_i_s_p_l_a_y) DefaultScreenOfDisplay(_d_i_s_p_l_a_y) DefaultScreen(_d_i_s_p_l_a_y) DefaultVisual(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) DisplayCells(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) DisplayPlanes(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) DisplayString(_d_i_s_p_l_a_y) long XMaxRequestSize(_d_i_s_p_l_a_y) Display *_d_i_s_p_l_a_y; LastKnownRequestProcessed(_d_i_s_p_l_a_y) NextRequest(_d_i_s_p_l_a_y) ProtocolVersion(_d_i_s_p_l_a_y) ProtocolRevision(_d_i_s_p_l_a_y) Rev. Release 5 Page 1 AllPlanes(3X11) AIX (XLIB FUNCTIONS) AllPlanes(3X11) QLength(_d_i_s_p_l_a_y) RootWindow(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) ScreenCount(_d_i_s_p_l_a_y) ScreenOfDisplay(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r) ServerVendor(_d_i_s_p_l_a_y) VendorRelease(_d_i_s_p_l_a_y) ARGUMENTS _d_i_s_p_l_a_y Specifies the connection to the X server. _s_c_r_e_e_n__n_u_m_b_e_r Specifies the appropriate screen number on the host server. _c_o_u_n_t__r_e_t_u_r_n Returns the number of depths. DESCRIPTION The _A_l_l_P_l_a_n_e_s macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The _B_l_a_c_k_P_i_x_e_l macro returns the black pixel value for the specified screen. The _W_h_i_t_e_P_i_x_e_l macro returns the white pixel value for the specified screen. The _C_o_n_n_e_c_t_i_o_n_N_u_m_b_e_r macro returns a connection number for the specified display. The _D_e_f_a_u_l_t_C_o_l_o_r_m_a_p macro returns the default colormap ID for allocation on the specified screen. The _D_e_f_a_u_l_t_D_e_p_t_h macro returns the depth (number of planes) of the default root window for the specified screen. The _X_L_i_s_t_D_e_p_t_h_s function returns the array of depths that are available on the specified screen. If the specified screen_number is valid and sufficient memory for the array can be allocated, _X_L_i_s_t_D_e_p_t_h_s sets count_return to the number of available depths. Otherwise, it does not set count_return and returns NULL. To release the memory allo- cated for the array of depths, use _X_F_r_e_e. The _D_e_f_a_u_l_t_G_C macro returns the default GC for the root win- dow of the specified screen. The _D_e_f_a_u_l_t_R_o_o_t_W_i_n_d_o_w macro returns the root window for the Rev. Release 5 Page 2 AllPlanes(3X11) AIX (XLIB FUNCTIONS) AllPlanes(3X11) default screen. 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 screen of the specified display. The _D_e_f_a_u_l_t_S_c_r_e_e_n macro returns the default screen number referenced in the _X_O_p_e_n_D_i_s_p_l_a_y routine. The _D_e_f_a_u_l_t_V_i_s_u_a_l macro returns the default visual type for the specified screen. The _D_i_s_p_l_a_y_C_e_l_l_s macro returns the number of entries in the default colormap. The _D_i_s_p_l_a_y_P_l_a_n_e_s macro returns the depth of the root window of the specified screen. The _D_i_s_p_l_a_y_S_t_r_i_n_g macro returns the string that was passed to _X_O_p_e_n_D_i_s_p_l_a_y when the current display was opened. _X_M_a_x_R_e_q_u_e_s_t_S_i_z_e returns the maximum request size (in 4-byte units) supported by the server. Single protocol requests to the server can be no longer than this size. The protocol guarantees the size to be no smaller than 4096 units (16384 bytes). Xlib automatically breaks data up into multiple protocol requests as necessary for the following functions: _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, _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, and _X_P_u_t_I_m_a_g_e. 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 serial number of the last request known by Xlib to have been pro- cessed by the X server. The _N_e_x_t_R_e_q_u_e_s_t macro extracts the full serial number that is to be used for the next request. The _P_r_o_t_o_c_o_l_V_e_r_s_i_o_n macro returns the major version number (11) of the X protocol associated with the connected display. The _P_r_o_t_o_c_o_l_R_e_v_i_s_i_o_n macro returns the minor protocol revi- sion number of the X server. The _Q_L_e_n_g_t_h macro returns the length of the event queue for the connected display. The _R_o_o_t_W_i_n_d_o_w macro returns the root window. The _S_c_r_e_e_n_C_o_u_n_t macro returns the number of available screens. The _S_c_r_e_e_n_O_f_D_i_s_p_l_a_y macro returns a pointer to the screen of the specified display. Rev. Release 5 Page 3 AllPlanes(3X11) AIX (XLIB FUNCTIONS) AllPlanes(3X11) The _S_e_r_v_e_r_V_e_n_d_o_r macro returns a pointer to a null- terminated string that provides some identification of the owner of the X server implementation. The _V_e_n_d_o_r_R_e_l_e_a_s_e macro returns a number related to a vendor's release of the X server. SEE ALSO BlackPixelOfScreen(3X11), ImageByteOrder(3X11), IsCursorKey(3X11), XOpenDisplay(3X11) _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e Rev. Release 5 Page 4