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 #RsvgHandle's DPI to compute dimensions in pixels, so you should call rsvg_handle_set_dpi() beforehand.

class Handle
void
getDimensions

Parameters

dimensionData RsvgDimensionData

A place to store the SVG's size

Meta

Since

2.14