Flutter Engine
The Flutter Engine
|
#include <SkSVGMask.h>
Public Types | |
using | INHERITED = SkSVGHiddenContainer |
Public Member Functions | |
SVG_ATTR (MaskUnits, SkSVGObjectBoundingBoxUnits, SkSVGObjectBoundingBoxUnits(SkSVGObjectBoundingBoxUnits::Type::kObjectBoundingBox)) SVG_ATTR(MaskContentUnits | |
SkSVGObjectBoundingBoxUnits(SkSVGObjectBoundingBoxUnits::Type::kUserSpaceOnUse)) private | SkSVGMask () |
bool | parseAndSetAttribute (const char *, const char *) override |
SkRect | bounds (const SkSVGRenderContext &) const |
void | renderMask (const SkSVGRenderContext &) 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< SkSVGMask > | Make () |
Public Attributes | |
SkSVGObjectBoundingBoxUnits | |
Additional Inherited Members | |
Protected Member Functions inherited from SkSVGHiddenContainer | |
SkSVGHiddenContainer (SkSVGTag t) | |
void | onRender (const SkSVGRenderContext &) const final |
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 |
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 14 of file SkSVGMask.h.
Definition at line 40 of file SkSVGMask.h.
|
inline |
Definition at line 33 of file SkSVGMask.h.
SkRect SkSVGMask::bounds | ( | const SkSVGRenderContext & | ctx | ) | const |
Definition at line 27 of file SkSVGMask.cpp.
Definition at line 16 of file SkSVGMask.h.
|
overridevirtual |
Reimplemented from SkSVGNode.
Definition at line 15 of file SkSVGMask.cpp.
void SkSVGMask::renderMask | ( | const SkSVGRenderContext & | ctx | ) | const |
Definition at line 31 of file SkSVGMask.cpp.
SkSVGMask::SVG_ATTR | ( | MaskUnits | , |
SkSVGObjectBoundingBoxUnits | , | ||
SkSVGObjectBoundingBoxUnits(SkSVGObjectBoundingBoxUnits::Type::kObjectBoundingBox) | |||
) |
SkSVGMask::SkSVGObjectBoundingBoxUnits |
Definition at line 27 of file SkSVGMask.h.