2#ifndef SEEN_INKSCAPE_VIEWBOX_H
3#define SEEN_INKSCAPE_VIEWBOX_H
3x3 matrix representing an affine transformation.
Axis-aligned rectangle that can be empty.
Axis aligned, non-empty rectangle.
Interface for refcounted XML nodes.
void set_viewBox(const gchar *value)
unsigned int aspect_align
void set_preserveAspectRatio(const gchar *value)
void write_preserveAspectRatio(Inkscape::XML::Node *repr) const
Write preserveAspectRatio attribute to XML, if set.
Geom::OptRect get_paintbox(double width, double height, Geom::OptRect const &size) const
SPItemCtx get_rctx(const SPItemCtx *ictx, double scale_none=1.0)
void write_viewBox(Inkscape::XML::Node *repr) const
Write viewBox attribute to XML, if set.
void apply_viewbox(const Geom::Rect &in, double scale_none=1.0)
Contains transformations to document/viewport and the viewport size.