|
NovaSVG 0.10.0
A header-only SVG library
|
#include <svgelement.h>

Public Member Functions | |
| SVGFitToViewBox (SVGElement *element) | |
| const SVGRect & | viewBox () const |
| const SVGPreserveAspectRatio & | preserveAspectRatio () const |
| Transform | viewBoxToViewTransform (const Size &viewportSize) const |
| Rect | getClipRect (const Size &viewportSize) const |
Definition at line 964 of file svgelement.h.
| NOVASVG_INLINE novasvg::SVGFitToViewBox::SVGFitToViewBox | ( | SVGElement * | element | ) |
Definition at line 5629 of file svgelement.h.
References novasvg::SVGElement::addProperty().
| NOVASVG_INLINE Rect novasvg::SVGFitToViewBox::getClipRect | ( | const Size & | viewportSize | ) | const |
Definition at line 5645 of file svgelement.h.
References novasvg::SVGPreserveAspectRatio::getClipRect(), novasvg::Size::h, novasvg::Size::isEmpty(), novasvg::SVGRect::value(), and novasvg::Size::w.
Referenced by novasvg::SVGSVGElement::render(), and novasvg::SVGMarkerElement::renderMarker().
|
inline |
Definition at line 969 of file svgelement.h.
Referenced by novasvg::SVGPatternElement::applyPaint().
|
inline |
Definition at line 968 of file svgelement.h.
Referenced by novasvg::SVGElement::currentViewportSize(), and novasvg::SVGRootElement::layout().
| NOVASVG_INLINE Transform novasvg::SVGFitToViewBox::viewBoxToViewTransform | ( | const Size & | viewportSize | ) | const |
Definition at line 5637 of file svgelement.h.
References novasvg::SVGPreserveAspectRatio::getTransform(), novasvg::Transform::Identity, novasvg::Size::isEmpty(), and novasvg::SVGRect::value().
Referenced by novasvg::SVGMarkerElement::localTransform(), novasvg::SVGSVGElement::localTransform(), and novasvg::SVGMarkerElement::markerTransform().