Handle.width

int width() @property

Get width property.

Returns

Width, in pixels, of the rendered SVG after calling the size callback

as specified by rsvg.handle.Handle.setSizeCallback.

Deprecated

For historical reasons, this property is of integer type,

which cannot give the exact size of SVG images that are not pixel-aligned. Moreover, reading each of the size properties causes the size of the SVG to be recomputed, so reading both the width and height properties will cause two such computations. Please use rsvg.handle.Handle.getIntrinsicDimensions instead.