resvg_parse_tree_from_data method
int
resvg_parse_tree_from_data(
- Pointer<
Char> data, - int len,
- Pointer<
resvg_options> opt, - Pointer<
Pointer< tree,resvg_render_tree> >
@brief Creates #resvg_render_tree from data.
See #resvg_is_image_empty for details.
@param data SVG data. Can contain SVG string or gzip compressed data. Must not be NULL. @param len Data length. @param opt Rendering options. Must not be NULL. @param tree Parsed render tree. Should be destroyed via #resvg_tree_destroy. @return #resvg_error
Implementation
int resvg_parse_tree_from_data(
ffi.Pointer<ffi.Char> data,
int len,
ffi.Pointer<resvg_options> opt,
ffi.Pointer<ffi.Pointer<resvg_render_tree>> tree,
) {
return _resvg_parse_tree_from_data(
data,
len,
opt,
tree,
);
}