pangoExtentsToPixels          package:RGtk2          R Documentation

_p_a_n_g_o_E_x_t_e_n_t_s_T_o_P_i_x_e_l_s

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

     Converts extents from Pango units to device units, dividing by the
     'PANGO_SCALE' factor and performing rounding.

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

     pangoExtentsToPixels(inclusive, nearest)

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

'inclusive': ['PangoRectangle']  rectangle to round to pixels
          inclusively, or 'NULL'.

'nearest': ['PangoRectangle']  rectangle to round to nearest pixels, or
          'NULL'.

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

     The 'inclusive' rectangle is converted by flooring the x/y
     coordinates and extending width/height, such that the final
     rectangle completely includes the original rectangle.

     The 'nearest' rectangle is converted by rounding the coordinates
     of the rectangle to the nearest device unit (pixel).

     The rule to which argument to use is: if you want the resulting
     device-space rectangle to completely contain the original
     rectangle, pass it in as 'inclusive'. If you want two
     touching-but-not-overlapping rectangles stay
     touching-but-not-overlapping after rounding to device units, pass
     them in as 'nearest'.  

     Since  1.16

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

     Derived by RGtkGen from GTK+ documentation

