Handle.getDimensionsSub

Get the size of a subelement of the SVG file. Do not call from within the size_func callback, because an infinite loop will occur.

class Handle
bool
getDimensionsSub

Parameters

dimensionData RsvgDimensionData

A place to store the SVG's size

id string

An element's id within the SVG, or %NULL to get the dimension of the whole SVG. For example, if you have a layer called "layer1" for that you want to get the dimension, pass "#layer1" as the id.

Meta

Since

2.22