[ Version ( deprecated = true , deprecated_since = "2.52." , since = "2.14" ) ]
public DimensionData get_dimensions ()
Warning: get_dimensions is deprecated since 2.52..
Get the SVG's size.
Use [[email protected]_intrinsic_size_in_pixels] instead. This function is deprecated because it is not able to return exact fractional dimensions, only integer pixels.
Do not call from within the size_func callback, because an infinite loop will occur.
This function depends on the [[email protected]]'s DPI to compute dimensions in pixels, so you should call [[email protected]_dpi] beforehand.
this | |
dimension_data |
A place to store the SVG's size |