NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::SVGFitToViewBox Class Reference

#include <svgelement.h>

Inheritance diagram for novasvg::SVGFitToViewBox:

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
 

Detailed Description

Definition at line 964 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGFitToViewBox()

NOVASVG_INLINE novasvg::SVGFitToViewBox::SVGFitToViewBox ( SVGElement *  element)

Definition at line 5629 of file svgelement.h.

References novasvg::SVGElement::addProperty().

Member Function Documentation

◆ getClipRect()

◆ preserveAspectRatio()

const SVGPreserveAspectRatio & novasvg::SVGFitToViewBox::preserveAspectRatio ( ) const
inline

Definition at line 969 of file svgelement.h.

Referenced by novasvg::SVGPatternElement::applyPaint().

◆ viewBox()

const SVGRect & novasvg::SVGFitToViewBox::viewBox ( ) const
inline

◆ viewBoxToViewTransform()


The documentation for this class was generated from the following file: