Expand description
C bindings.
Structs§
- resvg_
options - @brief An SVG to #resvg_render_tree conversion options.
- resvg_
rect - @brief A rectangle representation.
- resvg_
render_ tree - @brief An opaque pointer to the rendering tree.
- resvg_
size - @brief A size representation.
- resvg_
transform - @brief A 2D transform representation.
Enums§
- resvg_
error - @brief List of possible errors.
- resvg_
image_ rendering - @brief A image rendering method.
- resvg_
shape_ rendering - @brief A shape rendering method.
- resvg_
text_ rendering - @brief A text rendering method.
Functions§
- resvg_
get_ image_ bbox - @brief Returns an image bounding box.
- resvg_
get_ image_ size - @brief Returns an image size.
- resvg_
get_ node_ bbox - @brief Returns node’s bounding box in canvas coordinates by ID.
- resvg_
get_ node_ stroke_ bbox - @brief Returns node’s bounding box, including stroke, in canvas coordinates by ID.
- resvg_
get_ node_ transform - @brief Returns node’s transform by ID.
- resvg_
get_ object_ bbox - @brief Returns an object bounding box.
- resvg_
init_ log - @brief Initializes the library log.
- resvg_
is_ image_ empty - @brief Checks that tree has any nodes.
- resvg_
node_ exists - @brief Returns
true
if a renderable node with such an ID exists. - resvg_
options_ create - @brief Creates a new #resvg_options object.
- resvg_
options_ destroy - @brief Destroys the #resvg_options.
- resvg_
options_ load_ font_ data - @brief Loads a font data into the internal fonts database.
- resvg_
options_ load_ font_ file - @brief Loads a font file into the internal fonts database.
- resvg_
options_ load_ system_ fonts - @brief Loads system fonts into the internal fonts database.
- resvg_
options_ set_ cursive_ family - @brief Sets the
cursive
font family. - resvg_
options_ set_ dpi - @brief Sets the target DPI.
- resvg_
options_ set_ fantasy_ family - @brief Sets the
fantasy
font family. - resvg_
options_ set_ font_ family - @brief Sets the default font family.
- resvg_
options_ set_ font_ size - @brief Sets the default font size.
- resvg_
options_ set_ image_ rendering_ mode - @brief Sets the default image rendering method.
- resvg_
options_ set_ languages - @brief Sets a comma-separated list of languages.
- resvg_
options_ set_ monospace_ family - @brief Sets the
monospace
font family. - resvg_
options_ set_ resources_ dir - @brief Sets a directory that will be used during relative paths resolving.
- resvg_
options_ set_ sans_ serif_ family - @brief Sets the
sans-serif
font family. - resvg_
options_ set_ serif_ family - @brief Sets the
serif
font family. - resvg_
options_ set_ shape_ rendering_ mode - @brief Sets the default shape rendering method.
- resvg_
options_ set_ stylesheet - @brief Provides the content of a stylesheet that will be used when resolving CSS attributes.
- resvg_
options_ set_ text_ rendering_ mode - @brief Sets the default text rendering method.
- resvg_
parse_ tree_ from_ data - @brief Creates #resvg_render_tree from data.
- resvg_
parse_ tree_ from_ file - @brief Creates #resvg_render_tree from file.
- resvg_
render - @brief Renders the #resvg_render_tree onto the pixmap.
- resvg_
render_ node - @brief Renders a Node by ID onto the image.
- resvg_
transform_ identity - @brief Creates an identity transform.
- resvg_
tree_ destroy - @brief Destroys the #resvg_render_tree.