Handle.getDimensions

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.

More...
class Handle
void
getDimensions

Parameters

dimensionData rsvg.types.DimensionData

A place to store the SVG's size

Detailed Description

Deprecated: Use rsvg.handle.Handle.getIntrinsicSizeInPixels instead. This function is deprecated because it is not able to return exact fractional dimensions, only integer pixels.