width


Description:

[ NoAccessorMethod ]
[ Version ( deprecated = true , deprecated_since = "2.46." ) ]
public int width { get; }

Warning: width is deprecated since 2.46..

Width, in pixels, of the rendered SVG after calling the size callback as specified by [method@Rsvg.

Note:

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 [[email protected]_intrinsic_dimensions] instead.

Handle.set_size_callback].




2022 vala-language.org