


AllPlanes(3X11)						      AllPlanes(3X11)
X11R5									X11R5



NAME
  AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap,
  DefaultDepth,	XListDepths, DefaultGC,	DefaultRootWindow, DefaultScreenOf-
  Display, 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)

  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 suffi-
  cient	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 allocated 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 window 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 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 speci-
  fied 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 color-
  map.

  The _D_i_s_p_l_a_y_P_l_a_n_e_s macro returns the depth of the root	window of the speci-
  fied 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) sup-
  ported 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 mul-
  tiple	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 processed 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	revision 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.

  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	delim off

























