|
NovaSVG 0.10.0
A header-only SVG library
|
#include <svgelement.h>
Public Member Functions | |
| SVGPaintServer ()=default | |
| SVGPaintServer (const SVGPaintElement *element, const Color &color, float opacity) | |
| bool | isRenderable () const |
| const SVGPaintElement * | element () const |
| const Color & | color () const |
| float | opacity () const |
| bool | applyPaint (SVGRenderState &state) const |
Definition at line 990 of file svgelement.h.
|
default |
|
inline |
Definition at line 993 of file svgelement.h.
| NOVASVG_INLINE bool novasvg::SVGPaintServer::applyPaint | ( | SVGRenderState & | state | ) | const |
Definition at line 5667 of file svgelement.h.
References novasvg::SVGPaintElement::applyPaint(), novasvg::Color::colorWithAlpha(), and isRenderable().
Referenced by novasvg::SVGTextElement::render(), and novasvg::SVGGeometryElement::render().
|
inline |
Definition at line 1000 of file svgelement.h.
|
inline |
Definition at line 999 of file svgelement.h.
Referenced by novasvg::SVGTextElement::render().
|
inline |
Definition at line 997 of file svgelement.h.
References novasvg::Color::getA().
Referenced by applyPaint(), and novasvg::SVGGeometryElement::strokeBoundingBox().
|
inline |
Definition at line 1001 of file svgelement.h.