home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XSetTile.z / XSetTile
Encoding:
Text File  |  2002-10-03  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttTTTTiiiilllleeee((((3333XXXX11111111))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))      XXXXSSSSeeeettttTTTTiiiilllleeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetTile, XSetStipple, XSetTSOrigin - GC convenience
  10.           routines
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XSetTile(_d_i_s_p_l_a_y, _g_c, _t_i_l_e)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 GC _g_c;
  16.                 Pixmap _t_i_l_e;
  17.  
  18.           XSetStipple(_d_i_s_p_l_a_y, _g_c, _s_t_i_p_p_l_e)
  19.                 Display *_d_i_s_p_l_a_y;
  20.                 GC _g_c;
  21.                 Pixmap _s_t_i_p_p_l_e;
  22.  
  23.           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)
  24.                 Display *_d_i_s_p_l_a_y;
  25.                 GC _g_c;
  26.                 int _t_s__x__o_r_i_g_i_n, _t_s__y__o_r_i_g_i_n;
  27.  
  28.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  29.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  30.  
  31.           _g_c        Specifies the GC.
  32.  
  33.           _s_t_i_p_p_l_e   Specifies the stipple you want to set for the
  34.                     specified GC.
  35.  
  36.           _t_i_l_e      Specifies the fill tile you want to set for the
  37.                     specified GC.
  38.  
  39.           _t_s__x__o_r_i_g_i_n
  40.           _t_s__y__o_r_i_g_i_n
  41.                     Specify the x and y coordinates of the tile and
  42.                     stipple origin.
  43.  
  44.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.           The _X_S_e_t_T_i_l_e function sets the fill tile in the specified
  46.           GC.  The tile and GC must have the same depth, or a _B_a_d_M_a_t_c_h
  47.           error results.
  48.  
  49.           _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
  50.           _B_a_d_P_i_x_m_a_p errors.
  51.  
  52.           The _X_S_e_t_S_t_i_p_p_l_e function sets the stipple in the specified
  53.           GC.  The stipple must have a depth of one, or a _B_a_d_M_a_t_c_h
  54.           error results.
  55.  
  56.           _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
  57.           _B_a_d_P_i_x_m_a_p errors.
  58.  
  59.           The _X_S_e_t_T_S_O_r_i_g_i_n function sets the tile/stipple origin in
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttTTTTiiiilllleeee((((3333XXXX11111111))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))      XXXXSSSSeeeettttTTTTiiiilllleeee((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           the specified GC.  When graphics requests call for tiling or
  75.           stippling, the parent's origin will be interpreted relative
  76.           to whatever destination drawable is specified in the
  77.           graphics request.
  78.  
  79.           _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.
  80.  
  81.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  82.           _B_a_d_A_l_l_o_c  The server failed to allocate the requested
  83.                     resource or server memory.
  84.  
  85.           _B_a_d_G_C     A value for a GContext argument does not name a
  86.                     defined GContext.
  87.  
  88.           _B_a_d_M_a_t_c_h  Some argument or pair of arguments has the correct
  89.                     type and range but fails to match in some other
  90.                     way required by the request.
  91.  
  92.           _B_a_d_P_i_x_m_a_p A value for a Pixmap argument does not name a
  93.                     defined Pixmap.
  94.  
  95.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  96.           XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
  97.           XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetFont(3X11),
  98.           XSetLineAttributes(3X11), XSetState(3X11)
  99.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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 10/3/02)
  130.  
  131.  
  132.  
  133.