set_stylesheet
Description:
Sets a CSS stylesheet to use for an SVG document.
The css.length
argument is mandatory; this function will not compute the length of the css
string. This is because a
provided stylesheet, which the calling program could read from a file, can have nul characters in it.
During the CSS cascade, the specified stylesheet will be used with a "User" [origin](https://drafts.csswg.org/css-cascade-3/cascading
-origins).
Note that `import
` rules will not be resolved, except for `data:` URLs.
Parameters:
this |
A [class@Rsvg.Handle]. |
css |
String with CSS data; must be valid UTF-8. |
css_len |
Length of the |
Returns:
`TRUE` on success, `FALSE` on error. Errors are returned in the throws argument. |