Renders the whole SVG document fitted to a viewport.
The @viewport gives the position and size at which the whole SVG document will be rendered.
The @cr must be in a #CAIRO_STATUS_SUCCESS state, or this function will not render anything, and instead will return an error.
API ordering: This function must be called on a fully-loaded @handle. See the section <ulink url="#API-ordering">API ordering</ulink> for details.
Panics: this function will panic if the @handle is not fully-loaded.
A Cairo context
Viewport size at which the whole SVG would be fitted.
GException on failure.
2.46
See Implementation
Renders the whole SVG document fitted to a viewport.
The @viewport gives the position and size at which the whole SVG document will be rendered.
The @cr must be in a #CAIRO_STATUS_SUCCESS state, or this function will not render anything, and instead will return an error.
API ordering: This function must be called on a fully-loaded @handle. See the section <ulink url="#API-ordering">API ordering</ulink> for details.
Panics: this function will panic if the @handle is not fully-loaded.