|
NovaSVG 0.10.0
A header-only SVG library
|
#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 ¤tTransform, 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) |
Definition at line 1588 of file svgelement.h.
|
inline |
Definition at line 1590 of file svgelement.h.
|
inline |
Definition at line 1595 of file svgelement.h.
| NOVASVG_INLINE void novasvg::SVGRenderState::beginGroup | ( | const SVGBlendInfo & | blendInfo | ) |
Definition at line 3125 of file svgelement.h.
References novasvg::SVGClipPathElement::applyClipPath(), novasvg::SVGBlendInfo::clipper(), novasvg::SVGBlendInfo::filterElement(), novasvg::Rect::inflate(), novasvg::Transform::mapRect(), novasvg::SVGElement::paintBoundingBox(), novasvg::Painting, novasvg::SVGFilterElement::pixelMargin(), novasvg::SVGBlendInfo::requiresCompositing(), and novasvg::Transform::xScale().
Referenced by novasvg::SVGGElement::render(), novasvg::SVGSwitchElement::render(), novasvg::SVGTextElement::render(), novasvg::SVGGeometryElement::render(), and novasvg::SVGMarkerElement::renderMarker().
|
inline |
Definition at line 1606 of file svgelement.h.
Referenced by endGroup().
|
inline |
Definition at line 1604 of file svgelement.h.
Referenced by novasvg::SVGTextElement::render(), novasvg::SVGGeometryElement::render(), and novasvg::SVGMarkerElement::renderMarker().
|
inline |
Definition at line 1602 of file svgelement.h.
Referenced by hasCycleReference().
| NOVASVG_INLINE void novasvg::SVGRenderState::endGroup | ( | const SVGBlendInfo & | blendInfo | ) |
Definition at line 3144 of file svgelement.h.
References novasvg::SVGClipPathElement::applyClipMask(), novasvg::SVGFilterElement::applyFilter(), novasvg::SVGMaskElement::applyMask(), canvas(), novasvg::SVGBlendInfo::clipper(), novasvg::Clipping, novasvg::Darken, novasvg::Difference, novasvg::Exclusion, novasvg::SVGBlendInfo::filterElement(), novasvg::Lighten, novasvg::SVGBlendInfo::masker(), novasvg::SVGBlendInfo::mixBlendMode(), novasvg::Multiply, novasvg::Normal, novasvg::SVGBlendInfo::opacity(), novasvg::Painting, novasvg::Screen, and novasvg::Transform::xScale().
Referenced by novasvg::SVGGElement::render(), novasvg::SVGSwitchElement::render(), novasvg::SVGTextElement::render(), novasvg::SVGGeometryElement::render(), and novasvg::SVGMarkerElement::renderMarker().
|
inline |
Definition at line 1608 of file svgelement.h.
| NOVASVG_INLINE bool novasvg::SVGRenderState::hasCycleReference | ( | const SVGElement * | element | ) | const |
Definition at line 3114 of file svgelement.h.
References element().
|
inline |
Definition at line 1605 of file svgelement.h.
Referenced by novasvg::SVGTextElement::render(), and novasvg::SVGGeometryElement::render().
|
inline |
Definition at line 1599 of file svgelement.h.
|
inline |
Definition at line 1600 of file svgelement.h.
|
inline |
Definition at line 1609 of file svgelement.h.
|
inline |
Definition at line 1603 of file svgelement.h.