Method
RsvgHandleget_dimensions
Declaration [src]
void
rsvg_handle_get_dimensions (
RsvgHandle* handle,
RsvgDimensionData* dimension_data
)
Description [src]
Get the SVG’s size. Do not call from within the size_func callback, because an infinite loop will occur.
This function depends on the RsvgHandle
‘s DPI to compute dimensions in
pixels, so you should call rsvg_handle_set_dpi()
beforehand.
Available since: | 2.14 |
Deprecated since: | 2.52. |
Use |
Parameters
dimension_data |
RsvgDimensionData |
A place to store the SVG’s size. |
|
The argument will be set by the function. | |
The data is owned by the caller of the function. |