pangoMatrixTransformPixelRectangle   package:RGtk2   R Documentation

_p_a_n_g_o_M_a_t_r_i_x_T_r_a_n_s_f_o_r_m_P_i_x_e_l_R_e_c_t_a_n_g_l_e

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

     First transforms the 'rect' using 'matrix', then calculates the
     bounding box of the transformed rectangle.  The rectangle should
     be in device units (pixels).

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

     pangoMatrixTransformPixelRectangle(object, rect)

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

'object': ['PangoMatrix']  a 'PangoMatrix', or 'NULL'

  'rect': ['PangoRectangle']  in/out bounding box in device units, or
          'NULL'

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

     This function is useful for example when you want to draw a
     rotated 'PangoLayout' to an image buffer, and want to know how
     large the image should be and how much you should shift the layout
     when rendering.

     For better accuracy, you should use
     'pangoMatrixTransformRectangle' on original rectangle in Pango
     units and convert to pixels afterward using
     'pangoExtentsToPixels''s first argument.  

     Since  1.16

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

     Derived by RGtkGen from GTK+ documentation

