Rsvg.DimensionData

Fields

Name

Type

Access

Description

em

float

r/w

SVG’s original width, unmodified by RsvgSizeFunc

ex

float

r/w

SVG’s original height, unmodified by RsvgSizeFunc

height

int

r/w

SVG’s height, in pixels

width

int

r/w

SVG’s width, in pixels

Methods

None

Details

class Rsvg.DimensionData

Dimensions of an SVG image from [method`Rsvg`.Handle.get_dimensions], or an individual element from [method`Rsvg`.Handle.get_dimensions_sub]. Please see the deprecation documentation for those functions.

Deprecated since version 2.46.: Use [method`Rsvg`.Handle.get_intrinsic_size_in_pixels] or [method`Rsvg`.Handle.get_geometry_for_layer] instead.