gtkIconInfoSetRawCoordinates      package:RGtk2      R Documentation

_g_t_k_I_c_o_n_I_n_f_o_S_e_t_R_a_w_C_o_o_r_d_i_n_a_t_e_s

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

     Sets whether the coordinates returned by
     'gtkIconInfoGetEmbeddedRect' and 'gtkIconInfoGetAttachPoints'
     should be returned in their original form as specified in the icon
     theme, instead of scaled appropriately for the pixbuf returned by
     'gtkIconInfoLoadIcon'.

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

     gtkIconInfoSetRawCoordinates(object, raw.coordinates)

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

'object': ['GtkIconInfo']  a 'GtkIconInfo'

'raw.coordinates': [logical]  whether the coordinates of embedded
          rectangles and attached points should be returned in their
          original (unscaled) form.

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

     Raw coordinates are somewhat strange; they are specified to be
     with respect to the unscaled pixmap for PNG and XPM icons, but for
     SVG icons, they are in a 1000x1000 coordinate space that is scaled
     to the final size of the icon.  You can determine if the icon is
     an SVG icon by using 'gtkIconInfoGetFilename', and seeing if it is
     non-'NULL' and ends in '.svg'.

     This function is provided primarily to allow compatibility
     wrappers for older API's, and is not expected to be useful for
     applications.  

     Since  2.4

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

     Derived by RGtkGen from GTK+ documentation

