SizeFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
[ Version ( deprecated = true , deprecated_since = "2.14." ) ]
public delegate void SizeFunc (out int width, out int height)

Warning: SizeFunc is deprecated since 2.14..

Function to let a user of the library specify the SVG's dimensions

Note:

Use [method@Rsvg.Handle.render_document] instead, which lets you specify a viewport size in which to render the SVG document.

See the documentation for [method@Rsvg.Handle.set_size_callback] for an example, and for the reasons for deprecation.

Parameters:

width

the width of the SVG

height

the height of the SVG

user_data

user data


Namespace: Rsvg
Package: librsvg-2.0