resvg_get_image_size method

resvg_size resvg_get_image_size(
  1. Pointer<resvg_render_tree> tree
)

@brief Returns an image size.

The size of a canvas that required to render this SVG.

The width and height attributes in SVG.

@param tree Render tree. @return Image size.

Implementation

resvg_size resvg_get_image_size(
  ffi.Pointer<resvg_render_tree> tree,
) {
  return _resvg_get_image_size(
    tree,
  );
}