Flutter Engine
The Flutter Engine
|
#include <SkSVGNode.h>
Public Member Functions | |
~SkSVGNode () override | |
SkSVGTag | tag () const |
virtual void | appendChild (sk_sp< SkSVGNode >)=0 |
void | render (const SkSVGRenderContext &) const |
bool | asPaint (const SkSVGRenderContext &, SkPaint *) const |
SkPath | asPath (const SkSVGRenderContext &) const |
SkRect | objectBoundingBox (const SkSVGRenderContext &) const |
void | setAttribute (SkSVGAttribute, const SkSVGValue &) |
bool | setAttribute (const char *attributeName, const char *attributeValue) |
virtual bool | parseAndSetAttribute (const char *name, const char *value) |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
SkSVGNode (SkSVGTag) | |
virtual bool | onPrepareToRender (SkSVGRenderContext *) const |
virtual void | onRender (const SkSVGRenderContext &) const =0 |
virtual bool | onAsPaint (const SkSVGRenderContext &, SkPaint *) const |
virtual SkPath | onAsPath (const SkSVGRenderContext &) const =0 |
virtual void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) |
virtual bool | hasChildren () const |
virtual SkRect | onObjectBoundingBox (const SkSVGRenderContext &) const |
Static Protected Member Functions | |
static SkMatrix | ComputeViewboxMatrix (const SkRect &, const SkRect &, SkSVGPreserveAspectRatio) |
Definition at line 102 of file SkSVGNode.h.
|
override |
Definition at line 26 of file SkSVGNode.cpp.
|
protected |
Definition at line 17 of file SkSVGNode.cpp.
Implemented in SkSVGFeLightSource, SkSVGTextContainer, SkSVGContainer, SkSVGImage, SkSVGShape, and SkSVGUse.
bool SkSVGNode::asPaint | ( | const SkSVGRenderContext & | ctx, |
SkPaint * | paint | ||
) | const |
Definition at line 36 of file SkSVGNode.cpp.
SkPath SkSVGNode::asPath | ( | const SkSVGRenderContext & | ctx | ) | const |
Definition at line 42 of file SkSVGNode.cpp.
|
staticprotected |
Definition at line 132 of file SkSVGNode.cpp.
|
inlineprotectedvirtual |
SkRect SkSVGNode::objectBoundingBox | ( | const SkSVGRenderContext & | ctx | ) | const |
Definition at line 58 of file SkSVGNode.cpp.
|
inlineprotectedvirtual |
Reimplemented in SkSVGGradient, and SkSVGPattern.
Definition at line 171 of file SkSVGNode.h.
|
protectedpure virtual |
Implemented in SkSVGCircle, SkSVGContainer, SkSVGEllipse, SkSVGImage, SkSVGLine, SkSVGPath, SkSVGPoly, SkSVGRect, and SkSVGUse.
|
inlineprotectedvirtual |
Reimplemented in SkSVGCircle, SkSVGContainer, SkSVGImage, SkSVGPath, SkSVGPoly, SkSVGRect, and SkSVGUse.
Definition at line 179 of file SkSVGNode.h.
|
protectedvirtual |
Reimplemented in SkSVGImage, SkSVGSVG, SkSVGTransformableNode, and SkSVGUse.
Definition at line 62 of file SkSVGNode.cpp.
|
protectedpure virtual |
Implemented in SkSVGHiddenContainer, SkSVGShape, SkSVGContainer, SkSVGImage, SkSVGTextFragment, and SkSVGUse.
|
inlineprotectedvirtual |
Reimplemented in SkSVGSVG, and SkSVGTransformableNode.
Definition at line 175 of file SkSVGNode.h.
|
virtual |
Reimplemented in SkSVGCircle, SkSVGClipPath, SkSVGEllipse, SkSVGFe, SkSVGFeBlend, SkSVGFeColorMatrix, SkSVGFeFunc, SkSVGFeComposite, SkSVGFeDisplacementMap, SkSVGFeGaussianBlur, SkSVGFeImage, SkSVGFeLighting, SkSVGFeSpecularLighting, SkSVGFeDiffuseLighting, SkSVGFeMergeNode, SkSVGFeMorphology, SkSVGFeOffset, SkSVGFeTurbulence, SkSVGFilter, SkSVGGradient, SkSVGImage, SkSVGLine, SkSVGLinearGradient, SkSVGMask, SkSVGPath, SkSVGPattern, SkSVGPoly, SkSVGRadialGradient, SkSVGRect, SkSVGStop, and SkSVGTextContainer.
Definition at line 90 of file SkSVGNode.cpp.
void SkSVGNode::render | ( | const SkSVGRenderContext & | ctx | ) | const |
Definition at line 28 of file SkSVGNode.cpp.
bool SkSVGNode::setAttribute | ( | const char * | attributeName, |
const char * | attributeValue | ||
) |
Definition at line 508 of file SkSVGDOM.cpp.
void SkSVGNode::setAttribute | ( | SkSVGAttribute | attr, |
const SkSVGValue & | v | ||
) |
Definition at line 75 of file SkSVGNode.cpp.
|
inline |
Definition at line 106 of file SkSVGNode.h.