NAME
XSetFillStyle, XSetFillRule - GC convenience routines
SYNTAX
int XSetFillStyle(Display *_d_i_s_p_l_a_y, GC _g_c, int
_f_i_l_l___s_t_y_l_e);
int XSetFillRule(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 argument, 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