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

#include <svgelement.h>

Public Member Functions

 SVGRenderState (const SVGElement *element, const SVGRenderState &parent, const Transform &localTransform)
 
 SVGRenderState (const SVGElement *element, const SVGRenderState *parent, const Transform &currentTransform, SVGRenderMode mode, std::shared_ptr< Canvas > canvas)
 
Canvas & operator* () const
 
Canvas * operator-> () const
 
const SVGElement * element () const
 
const SVGRenderState * parent () const
 
const Transform & currentTransform () const
 
const SVGRenderMode mode () const
 
const std::shared_ptr< Canvas > & canvas () const
 
Rect fillBoundingBox () const
 
Rect paintBoundingBox () const
 
bool hasCycleReference (const SVGElement *element) const
 
void beginGroup (const SVGBlendInfo &blendInfo)
 
void endGroup (const SVGBlendInfo &blendInfo)
 

Detailed Description

Definition at line 1588 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGRenderState() [1/2]

novasvg::SVGRenderState::SVGRenderState ( const SVGElement *  element,
const SVGRenderState &  parent,
const Transform &  localTransform 
)
inline

Definition at line 1590 of file svgelement.h.

◆ SVGRenderState() [2/2]

novasvg::SVGRenderState::SVGRenderState ( const SVGElement *  element,
const SVGRenderState *  parent,
const Transform &  currentTransform,
SVGRenderMode  mode,
std::shared_ptr< Canvas >  canvas 
)
inline

Definition at line 1595 of file svgelement.h.

Member Function Documentation

◆ beginGroup()

◆ canvas()

const std::shared_ptr< Canvas > & novasvg::SVGRenderState::canvas ( ) const
inline

Definition at line 1606 of file svgelement.h.

Referenced by endGroup().

◆ currentTransform()

const Transform & novasvg::SVGRenderState::currentTransform ( ) const
inline

◆ element()

const SVGElement * novasvg::SVGRenderState::element ( ) const
inline

Definition at line 1602 of file svgelement.h.

Referenced by hasCycleReference().

◆ endGroup()

◆ fillBoundingBox()

Rect novasvg::SVGRenderState::fillBoundingBox ( ) const
inline

Definition at line 1608 of file svgelement.h.

◆ hasCycleReference()

NOVASVG_INLINE bool novasvg::SVGRenderState::hasCycleReference ( const SVGElement *  element) const

Definition at line 3114 of file svgelement.h.

References element().

◆ mode()

const SVGRenderMode novasvg::SVGRenderState::mode ( ) const
inline

◆ operator*()

Canvas & novasvg::SVGRenderState::operator* ( ) const
inline

Definition at line 1599 of file svgelement.h.

◆ operator->()

Canvas * novasvg::SVGRenderState::operator-> ( ) const
inline

Definition at line 1600 of file svgelement.h.

◆ paintBoundingBox()

Rect novasvg::SVGRenderState::paintBoundingBox ( ) const
inline

Definition at line 1609 of file svgelement.h.

◆ parent()

const SVGRenderState * novasvg::SVGRenderState::parent ( ) const
inline

Definition at line 1603 of file svgelement.h.


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