function is deprecated because it is not able to return exact fractional dimensions, only integer pixels.
Handle.getDimensions
void getDimensions(out rsvg.types.DimensionData dimensionData)Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.
This function depends on the rsvg.handle.Handle's DPI to compute dimensions in pixels, so you should call rsvg.handle.Handle.setDpi beforehand.
Parameters
dimensionData | A place to store the SVG's size |
Deprecated
Use rsvg.handle.Handle.getIntrinsicSizeInPixels instead. This