Scalable Vector Graphics support
Scalable Vector Graphics support
|
|
Object Hierarchy
GObject
╰── GOImage
╰── GOSvg
Functions
go_svg_new_from_data ()
GOImage *
go_svg_new_from_data (char const *data,
size_t length,
GError **error);
Creates a new SVG image from data in memory.
Returns
a new GOImage or NULL on error.
[transfer full][nullable]
go_svg_new_from_file ()
GOImage *
go_svg_new_from_file (char const *filename,
GError **error);
Creates a new SVG image from a file.
Returns
a new GOImage or NULL on error.
[transfer full][nullable]
Types and Values
GOSvg
typedef struct _GOSvg GOSvg;