home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xsetstipple.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  3.3 KB  |  133 lines

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