Flutter Engine
The Flutter Engine
|
#include <SkSVGSVG.h>
Public Types | |
enum class | Type { kRoot , kInner } |
Public Member Functions | |
SkSize | intrinsicSize (const SkSVGLengthContext &) const |
void | renderNode (const SkSVGRenderContext &, const SkSVGIRI &iri) const |
Public Member Functions inherited from SkSVGContainer | |
void | appendChild (sk_sp< SkSVGNode >) override |
Public Member Functions inherited from SkSVGTransformableNode | |
void | setTransform (const SkSVGTransformType &t) |
Public Member Functions inherited from SkSVGNode | |
~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 |
Static Public Member Functions | |
static sk_sp< SkSVGSVG > | Make (Type t=Type::kInner) |
Protected Member Functions | |
bool | onPrepareToRender (SkSVGRenderContext *) const override |
void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) override |
Protected Member Functions inherited from SkSVGContainer | |
SkSVGContainer (SkSVGTag) | |
void | onRender (const SkSVGRenderContext &) const override |
SkPath | onAsPath (const SkSVGRenderContext &) const override |
SkRect | onObjectBoundingBox (const SkSVGRenderContext &) const override |
bool | hasChildren () const final |
template<typename NodeType , typename Func > | |
void | forEachChild (Func func) const |
Protected Member Functions inherited from SkSVGTransformableNode | |
SkSVGTransformableNode (SkSVGTag) | |
bool | onPrepareToRender (SkSVGRenderContext *) const override |
void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) override |
void | mapToParent (SkPath *) const |
void | mapToParent (SkRect *) const |
Protected Member Functions inherited from SkSVGNode | |
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 |
Additional Inherited Members | |
Static Protected Member Functions inherited from SkSVGNode | |
static SkMatrix | ComputeViewboxMatrix (const SkRect &, const SkRect &, SkSVGPreserveAspectRatio) |
Protected Attributes inherited from SkSVGContainer | |
skia_private::STArray< 1, sk_sp< SkSVGNode >, true > | fChildren |
Definition at line 17 of file SkSVGSVG.h.
|
strong |
Enumerator | |
---|---|
kRoot | |
kInner |
Definition at line 19 of file SkSVGSVG.h.
SkSize SkSVGSVG::intrinsicSize | ( | const SkSVGLengthContext & | lctx | ) | const |
Definition at line 102 of file SkSVGSVG.cpp.
|
inlinestatic |
Definition at line 23 of file SkSVGSVG.h.
|
overrideprotectedvirtual |
Reimplemented from SkSVGNode.
Definition at line 29 of file SkSVGSVG.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkSVGNode.
Definition at line 64 of file SkSVGSVG.cpp.
void SkSVGSVG::renderNode | ( | const SkSVGRenderContext & | ctx, |
const SkSVGIRI & | iri | ||
) | const |
Definition at line 13 of file SkSVGSVG.cpp.