resvg_render method
void
resvg_render(
- Pointer<
resvg_render_tree> tree, - resvg_transform transform,
- int width,
- int height,
- Pointer<
Char> pixmap,
@brief Renders the #resvg_render_tree onto the pixmap.
@param tree A render tree.
@param transform A root SVG transform. Can be used to position SVG inside the pixmap
.
@param width Pixmap width.
@param height Pixmap height.
@param pixmap Pixmap data. Should have widthheight4 size and contain
premultiplied RGBA8888 pixels.
Implementation
void resvg_render(
ffi.Pointer<resvg_render_tree> tree,
resvg_transform transform,
int width,
int height,
ffi.Pointer<ffi.Char> pixmap,
) {
return _resvg_render(
tree,
transform,
width,
height,
pixmap,
);
}