gdkDrawLayoutWithColors        package:RGtk2        R Documentation

_g_d_k_D_r_a_w_L_a_y_o_u_t_W_i_t_h_C_o_l_o_r_s

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

     Render a 'PangoLayout' onto a 'GdkDrawable', overriding the
     layout's normal colors with 'foreground' and/or 'background'.
     'foreground' and 'background' need not be allocated.

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

     gdkDrawLayoutWithColors(drawable, gc, x, y, layout, foreground, background)

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

'drawable': ['GdkDrawable']   the drawable on which to draw string

    'gc': ['GdkGC']         base graphics context to use

     'x': [integer]          the X position of the left of the layout
          (in pixels)

     'y': [integer]          the Y position of the top of the layout
          (in pixels)

'layout': ['PangoLayout']     a 'PangoLayout'

'foreground': ['GdkColor']  foreground override color, or 'NULL' for
          none

'background': ['GdkColor']  background override color, or 'NULL' for
          none

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

     If the layout's 'PangoContext' has a transformation matrix set,
     then 'x' and 'y' specify the position of the top left corner of
     the bounding box (in device space) of the transformed layout.

     If you're using GTK+, the ususal way to obtain a 'PangoLayout' is
     'gtkWidgetCreatePangoLayout'.

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

     Derived by RGtkGen from GTK+ documentation

