


XSetFillStyle(3X11)					  XSetFillStyle(3X11)
X11R5									X11R5



NAME
  XSetFillStyle, XSetFillRule -	GC convenience routines

SYNTAX
  XSetFillStyle(_d_i_s_p_l_a_y, _g_c, _f_i_l_l__s_t_y_l_e)
	Display	*_d_i_s_p_l_a_y;
	GC _g_c;
	int _f_i_l_l__s_t_y_l_e;

  XSetFillRule(_d_i_s_p_l_a_y,	_g_c, _f_i_l_l__r_u_l_e)
	Display	*_d_i_s_p_l_a_y;
	GC _g_c;
	int _f_i_l_l__r_u_l_e;

ARGUMENTS

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

  _f_i_l_l__r_u_l_e Specifies the fill-rule you	want to	set for	the specified GC.
	    You	can pass _E_v_e_n_O_d_d_R_u_l_e or	_W_i_n_d_i_n_g_R_u_l_e.

  _f_i_l_l__s_t_y_l_e
	    Specifies the fill-style you want to set for the specified GC.
	    You	can pass _F_i_l_l_S_o_l_i_d, _F_i_l_l_T_i_l_e_d, _F_i_l_l_S_t_i_p_p_l_e_d, or	_F_i_l_l_O_p_a_q_u_e_S_-
	    _t_i_p_p_l_e_d.

  _g_c	    Specifies the GC.

DESCRIPTION
  The _X_S_e_t_F_i_l_l_S_t_y_l_e function sets the fill-style in the	specified GC.

  _X_S_e_t_F_i_l_l_S_t_y_l_e	can generate _B_a_d_A_l_l_o_c, _B_a_d_G_C, and _B_a_d_V_a_l_u_e errors.

  The _X_S_e_t_F_i_l_l_R_u_l_e function sets the fill-rule in the specified	GC.

  _X_S_e_t_F_i_l_l_R_u_l_e can generate _B_a_d_A_l_l_o_c, _B_a_d_G_C, and _B_a_d_V_a_l_u_e 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_V_a_l_u_e  Some numeric value falls outside the range of values accepted by
	    the	request.  Unless a specific range is specified for an argu-
	    ment, the full range defined by the	argument's type	is accepted.
	    Any	argument defined as a set of alternatives can generate this
	    error.



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

