Handle.getPositionSub

Get the position 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
getPositionSub

Parameters

positionData RsvgPositionData

A place to store the SVG fragment's position.

id string

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

Meta

Since

2.22