Crate resvg[][src]

Expand description

C bindings.

Structs

@brief A “fit to” property.

@brief An SVG to #resvg_render_tree conversion options.

@brief A path bbox representation.

@brief A rectangle representation.

@brief An opaque pointer to the rendering tree.

@brief A size representation.

@brief A 2D transform representation.

Enums

@brief List of possible errors.

@brief A “fit to” type.

@brief A image rendering method.

@brief A shape rendering method.

@brief A text rendering method.

Functions

@brief Returns an image bounding box.

@brief Returns an image size.

@brief Returns an image viewbox.

@brief Returns node’s bounding box by ID.

@brief Returns node’s transform by ID.

@brief Initializes the library log.

@brief Checks that tree has any nodes.

@brief Returns true if a renderable node with such an ID exists.

@brief Creates a new #resvg_options object.

@brief Destroys the #resvg_options.

@brief Loads a font data into the internal fonts database.

@brief Loads a font file into the internal fonts database.

@brief Loads system fonts into the internal fonts database.

@brief Sets the cursive font family.

@brief Sets the target DPI.

@brief Sets the fantasy font family.

@brief Sets the default font family.

@brief Sets the default font size.

@brief Sets the default image rendering method.

@brief Keep named groups.

@brief Sets a comma-separated list of languages.

@brief Sets the monospace font family.

@brief Sets a directory that will be used during relative paths resolving.

@brief Sets the sans-serif font family.

@brief Sets the serif font family.

@brief Sets the default shape rendering method.

@brief Sets the default text rendering method.

@brief Creates #resvg_render_tree from data.

@brief Creates #resvg_render_tree from file.

@brief Renders the #resvg_render_tree onto the pixmap.

@brief Renders a Node by ID onto the image.

@brief Creates an identity transform.

@brief Destroys the #resvg_render_tree.