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

#include <svgelement.h>

Public Member Functions

 LengthContext (const SVGElement *element, Units units=Units::UserSpaceOnUse)
 
float valueForLength (const Length &length, LengthDirection direction) const
 
float valueForLength (const SVGLength &length) const
 

Detailed Description

Definition at line 420 of file svgelement.h.

Constructor & Destructor Documentation

◆ LengthContext()

novasvg::LengthContext::LengthContext ( const SVGElement *  element,
Units  units = Units::UserSpaceOnUse 
)
inline

Definition at line 422 of file svgelement.h.

Member Function Documentation

◆ valueForLength() [1/2]

◆ valueForLength() [2/2]

float novasvg::LengthContext::valueForLength ( const SVGLength &  length) const
inline

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