


XSetTile(3X11)						       XSetTile(3X11)
X11R5									X11R5



NAME
  XSetTile, XSetStipple, XSetTSOrigin -	GC convenience routines

SYNTAX
  XSetTile(_d_i_s_p_l_a_y, _g_c,	_t_i_l_e)
	Display	*_d_i_s_p_l_a_y;
	GC _g_c;
	Pixmap _t_i_l_e;

  XSetStipple(_d_i_s_p_l_a_y, _g_c, _s_t_i_p_p_l_e)
	Display	*_d_i_s_p_l_a_y;
	GC _g_c;
	Pixmap _s_t_i_p_p_l_e;

  XSetTSOrigin(_d_i_s_p_l_a_y,	_g_c, _t_s__x__o_r_i_g_i_n, _t_s__y__o_r_i_g_i_n)
	Display	*_d_i_s_p_l_a_y;
	GC _g_c;
	int _t_s__x__o_r_i_g_i_n, _t_s__y__o_r_i_g_i_n;

ARGUMENTS

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

  _g_c	    Specifies the GC.

  _s_t_i_p_p_l_e   Specifies the stipple you want to set for the specified GC.

  _t_i_l_e	    Specifies the fill tile you	want to	set for	the specified GC.

  _t_s__x__o_r_i_g_i_n
  _t_s__y__o_r_i_g_i_n
	    Specify the	x and y	coordinates of the tile	and stipple origin.

DESCRIPTION
  The _X_S_e_t_T_i_l_e function	sets the fill tile in the specified GC.	 The tile and
  GC must have the same	depth, or a _B_a_d_M_a_t_c_h error results.

  _X_S_e_t_T_i_l_e can generate	_B_a_d_A_l_l_o_c, _B_a_d_G_C, _B_a_d_M_a_t_c_h, and _B_a_d_P_i_x_m_a_p errors.

  The _X_S_e_t_S_t_i_p_p_l_e function sets	the stipple in the specified GC.  The stipple
  must have a depth of one, or a _B_a_d_M_a_t_c_h error	results.

  _X_S_e_t_S_t_i_p_p_l_e can generate _B_a_d_A_l_l_o_c, _B_a_d_G_C, _B_a_d_M_a_t_c_h, and _B_a_d_P_i_x_m_a_p errors.

  The _X_S_e_t_T_S_O_r_i_g_i_n function sets the tile/stipple origin in the	specified GC.
  When graphics	requests call for tiling or stippling, the parent's origin
  will be interpreted relative to whatever destination drawable	is specified
  in the graphics request.

  _X_S_e_t_T_S_O_r_i_g_i_n can generate _B_a_d_A_l_l_o_c and _B_a_d_G_C errors.


DIAGNOSTICS

  _B_a_d_A_l_l_o_c  The	server failed to allocate the requested	resource or server
	    memory.

  _B_a_d_G_C	    A value for	a GContext argument does not name a defined GContext.

  _B_a_d_M_a_t_c_h  Some argument or pair of arguments has the correct type and	range
	    but	fails to match in some other way required by the request.

  _B_a_d_P_i_x_m_a_p A value for	a Pixmap argument does not name	a defined Pixmap.

SEE ALSO
  XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
  XSetClipOrigin(3X11),	XSetFillStyle(3X11), XSetFont(3X11),
  XSetLineAttributes(3X11), XSetState(3X11)
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e























































