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

  1.  
  2.  
  3.  
  4. XSetFont(3X11)          XLIB FUNCTIONS       XSetFont(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XSetFont - GC convenience routines
  9.  
  10. SSYYNNTTAAXX
  11.        XSetFont(_d_i_s_p_l_a_y, _g_c, _f_o_n_t)
  12.          Display *_d_i_s_p_l_a_y;
  13.          GC _g_c;
  14.          Font _f_o_n_t;
  15.  
  16. AARRGGUUMMEENNTTSS
  17.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  18.  
  19.        _f_o_n_t     Specifies the font.
  20.  
  21.        _g_c     Specifies the GC.
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.        The _X_S_e_t_F_o_n_t function sets the current font in the speci-
  25.        fied GC.
  26.  
  27.        _X_S_e_t_F_o_n_t can generate _B_a_d_A_l_l_o_c, _B_a_d_F_o_n_t, and _B_a_d_G_C errors.
  28.  
  29. DDIIAAGGNNOOSSTTIICCSS
  30.        _B_a_d_A_l_l_o_c     The server failed to allocate the requested
  31.          resource or server memory.
  32.  
  33.        _B_a_d_F_o_n_t     A value for a Font or GContext argument does not
  34.          name a defined Font.
  35.  
  36.        _B_a_d_G_C     A value for a GContext argument does not name a
  37.          defined GContext.
  38.  
  39. SSEEEE AALLSSOO
  40.        XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
  41.        XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetLineAt-
  42.        tributes(3X11), XSetState(3X11), XSetTile(3X11)
  43.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.