home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XSetFillStyle.z / XSetFillStyle
Encoding:
Text File  |  1998-10-30  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttFFFFiiiillllllllSSSSttttyyyylllleeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXSSSSeeeettttFFFFiiiillllllllSSSSttttyyyylllleeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetFillStyle, XSetFillRule - GC convenience routines
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XSetFillStyle(_d_i_s_p_l_a_y, _g_c, _f_i_l_l__s_t_y_l_e)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 GC _g_c;
  15.                 int _f_i_l_l__s_t_y_l_e;
  16.  
  17.           XSetFillRule(_d_i_s_p_l_a_y, _g_c, _f_i_l_l__r_u_l_e)
  18.                 Display *_d_i_s_p_l_a_y;
  19.                 GC _g_c;
  20.                 int _f_i_l_l__r_u_l_e;
  21.  
  22.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  23.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  24.  
  25.           _f_i_l_l__r_u_l_e Specifies the fill-rule you want to set for the
  26.                     specified GC.  You can pass _E_v_e_n_O_d_d_R_u_l_e or
  27.                     _W_i_n_d_i_n_g_R_u_l_e.
  28.  
  29.           _f_i_l_l__s_t_y_l_e
  30.                     Specifies the fill-style you want to set for the
  31.                     specified GC.  You can pass _F_i_l_l_S_o_l_i_d, _F_i_l_l_T_i_l_e_d,
  32.                     _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.
  33.  
  34.           _g_c        Specifies the GC.
  35.  
  36.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  37.           The _X_S_e_t_F_i_l_l_S_t_y_l_e function sets the fill-style in the
  38.           specified GC.
  39.  
  40.           _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
  41.           errors.
  42.  
  43.           The _X_S_e_t_F_i_l_l_R_u_l_e function sets the fill-rule in the
  44.           specified GC.
  45.  
  46.           _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
  47.           errors.
  48.  
  49.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  50.           _B_a_d_A_l_l_o_c  The server failed to allocate the requested
  51.                     resource or server memory.
  52.  
  53.           _B_a_d_G_C     A value for a GContext argument does not name a
  54.                     defined GContext.
  55.  
  56.           _B_a_d_V_a_l_u_e  Some numeric value falls outside the range of
  57.                     values accepted by the request.  Unless a specific
  58.                     range is specified for an argument, the full range
  59.                     defined by the argument's type is accepted.  Any
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttFFFFiiiillllllllSSSSttttyyyylllleeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXSSSSeeeettttFFFFiiiillllllllSSSSttttyyyylllleeee((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                     argument defined as a set of alternatives can
  75.                     generate this error.
  76.  
  77.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.           XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
  79.           XSetClipOrigin(3X11), XSetFont(3X11),
  80.           XSetLineAttributes(3X11), XSetState(3X11), XSetTile(3X11)
  81.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.