NAME

XSetArcMode, XSetSubwindowMode, XSetGraphicsExposure - GC convenience routines

SYNTAX

int XSetArcMode(Display *_d_i_s_p_l_a_y, GC _g_c, int _a_r_c___m_o_d_e); int XSetSubwindowMode(Display *_d_i_s_p_l_a_y, GC _g_c, int _s_u_b_w_i_n_d_o_w___m_o_d_e); int XSetGraphicsExposures(Display *_d_i_s_p_l_a_y, GC _g_c, Bool _g_r_a_p_h_i_c_s___e_x_p_o_s_u_r_e_s);

ARGUMENTS

_a_r_c___m_o_d_e Specifies the arc mode.
You can pass _A_r_c_C_h_o_r_d or _A_r_c_P_i_e_S_l_i_c_e.
_d_i_s_p_l_a_y Specifies the connection to the X server.
_g_c Specifies the GC.
_g_r_a_p_h_i_c_s___e_x_p_o_s_u_r_e_s Specifies a Boolean value that indicates whether you want
_G_r_a_p_h_i_c_s_E_x_p_o_s_e and _N_o_E_x_p_o_s_e events to be reported when calling _X_C_o_p_y_A_r_e_a and _X_C_o_p_y_P_l_a_n_e with this GC.
_s_u_b_w_i_n_d_o_w___m_o_d_e Specifies the subwindow mode.
You can pass _C_l_i_p_B_y_C_h_i_l_d_r_e_n or _I_n_c_l_u_d_e_I_n_f_e_r_i_o_r_s.

DESCRIPTION

The _X_S_e_t_A_r_c_M_o_d_e function sets the arc mode in the specified GC.

_X_S_e_t_A_r_c_M_o_d_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_S_u_b_w_i_n_d_o_w_M_o_d_e function sets the subwindow mode in the specified GC.

_X_S_e_t_S_u_b_w_i_n_d_o_w_M_o_d_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_G_r_a_p_h_i_c_s_E_x_p_o_s_u_r_e_s function sets the graphics-exposures flag in the specified GC.

_X_S_e_t_G_r_a_p_h_i_c_s_E_x_p_o_s_u_r_e_s 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

XCopyArea(3X11), XCreateGC(3X11), XQueryBestSize(3X11), XSetClipOrigin(3X11), XSetFillStyle(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