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

#include <svgelement.h>

Public Member Functions

 SVGBlendInfo (const SVGElement *element)
 
 SVGBlendInfo (const SVGClipPathElement *clipper, const SVGMaskElement *masker, const SVGFilterElement *filter, float opacity, MixBlendMode mixBlendMode=MixBlendMode::Normal)
 
bool requiresCompositing (SVGRenderMode mode) const
 
const SVGClipPathElement * clipper () const
 
const SVGMaskElement * masker () const
 
const SVGFilterElement * filterElement () const
 
float opacity () const
 
MixBlendMode mixBlendMode () const
 

Detailed Description

Definition at line 1565 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGBlendInfo() [1/2]

NOVASVG_INLINE novasvg::SVGBlendInfo::SVGBlendInfo ( const SVGElement *  element)
explicit

Definition at line 3100 of file svgelement.h.

◆ SVGBlendInfo() [2/2]

novasvg::SVGBlendInfo::SVGBlendInfo ( const SVGClipPathElement *  clipper,
const SVGMaskElement *  masker,
const SVGFilterElement *  filter,
float  opacity,
MixBlendMode  mixBlendMode = MixBlendMode::Normal 
)
inline

Definition at line 1568 of file svgelement.h.

Member Function Documentation

◆ clipper()

const SVGClipPathElement * novasvg::SVGBlendInfo::clipper ( ) const
inline

◆ filterElement()

const SVGFilterElement * novasvg::SVGBlendInfo::filterElement ( ) const
inline

◆ masker()

const SVGMaskElement * novasvg::SVGBlendInfo::masker ( ) const
inline

Definition at line 1575 of file svgelement.h.

Referenced by novasvg::SVGRenderState::endGroup().

◆ mixBlendMode()

MixBlendMode novasvg::SVGBlendInfo::mixBlendMode ( ) const
inline

Definition at line 1578 of file svgelement.h.

Referenced by novasvg::SVGRenderState::endGroup().

◆ opacity()

float novasvg::SVGBlendInfo::opacity ( ) const
inline

Definition at line 1577 of file svgelement.h.

Referenced by novasvg::SVGRenderState::endGroup().

◆ requiresCompositing()

NOVASVG_INLINE bool novasvg::SVGBlendInfo::requiresCompositing ( SVGRenderMode  mode) const

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