pangoCairoCreateLayout         package:RGtk2         R Documentation

_p_a_n_g_o_C_a_i_r_o_C_r_e_a_t_e_L_a_y_o_u_t

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

     Creates a layout object set up to match the current transformation
     and target surface of the Cairo context.  This layout can then be
     used for text measurement with functions like 'pangoLayoutGetSize'
     or drawing with functions like 'pangoCairoShowLayout'. If you
     change the transformation or target surface for 'cr', you need to
     call 'pangoCairoUpdateLayout'

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

     pangoCairoCreateLayout(cr)

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

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

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

     This function is the most convenient way to use Cairo with Pango,
     however it is slightly inefficient since it creates a separate
     'PangoContext' object for each layout. This might matter in an
     application that was laying out large amounts of text.  

     Since  1.10

_V_a_l_u_e:

     ['PangoLayout']  the newly created 'PangoLayout'.

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

     Derived by RGtkGen from GTK+ documentation

