Description Usage Arguments Details See Also
View source: R/cairo-svg-surface.R
Restricts the generated SVG file to version. See cairo_svg_get_versions() for a list of available version values that can be used here.
1 | cairo_svg_surface_restrict_to_version(surface, version)
|
surface |
[ |
version |
[ |
This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.
Since: 1.2
C function prototype: void cairo_svg_surface_restrict_to_version (cairo_surface_t *surface, cairo_svg_version_t version)
Other cairo-svg-surface:
cairo_svg_surface_create()
,
cairo_svg_surface_get_document_unit()
,
cairo_svg_surface_set_document_unit()
,
cairo_svg_version_to_string()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.