Module rsvg::drawing_ctx
source Β· Expand description
The main context structure which drives the drawing process.
Structs§
- CompositingAffines π
- Opaque font options for a DrawingCtx.
- Extents for a path in its current coordinate system.
- PathHelper πSet path on the cairo context, or clear it. This helper object keeps track whether the path has been set already, so that it isnβt recalculated every so often.
- Values that stay constant during rendering with a DrawingCtx.
- Holds the size of the current viewport in the userβs coordinate system.
Enums§
- Whether an SVG document is being rendered standalone or referenced from an
<image>
element.
Constants§
- CAIRO_TAG_LINK π
Functions§
- clip_to_rectangle π
- Create a Pango context with a particular configuration.
- The toplevel drawing routine.
- escape_link_target πescape quotes and backslashes with backslash
- Converts a Pango layout to a Cairo path on the specified cr starting at (x, y). Does not clear the current path first.
- Converts a Pango layout to a Path starting at (x, y).
- setup_cr_for_stroke π