cairoShowText             package:RGtk2             R Documentation

_c_a_i_r_o_S_h_o_w_T_e_x_t

_D_e_s_c_r_i_p_t_i_o_n:

     A drawing operator that generates the shape from a string of UTF-8
     characters, rendered according to the current font_face, font_size
     (font_matrix), and font_options.

_U_s_a_g_e:

     cairoShowText(cr, utf8)

_A_r_g_u_m_e_n_t_s:

    'cr': ['Cairo']  a cairo context

  'utf8': [char]  a string of text encoded in UTF-8

_D_e_t_a_i_l_s:

     This function first computes a set of glyphs for the string of
     text. The first glyph is placed so that its origin is at the
     current point. The origin of each subsequent glyph is offset from
     that of the previous glyph by the advance values of the previous
     glyph.

     After this call the current point is moved to the origin of where
     the next glyph would be placed in this same progression. That is,
     the current point will be at the origin of the final glyph offset
     by its advance values. This allows for easy display of a single
     logical string with multiple calls to 'cairoShowText'.

     Note: The 'cairoShowText' function call is part of what the cairo
     designers call the "toy" text API. It is convenient for short
     demos and simple programs, but it is not expected to be adequate
     for serious text-using applications. See 'cairoShowGlyphs' for the
     "real" text display API in cairo.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

