![]() |
Flutter Engine
The Flutter Engine
|
#include <SkSGGeometryNode.h>
Public Member Functions | |
void | clip (SkCanvas *, bool antiAlias) const |
void | draw (SkCanvas *, const SkPaint &) const |
bool | contains (const SkPoint &) const |
SkPath | asPath () const |
![]() | |
const SkRect & | revalidate (InvalidationController *, const SkMatrix &) |
void | invalidate (bool damage=true) |
![]() | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
GeometryNode () | |
virtual void | onClip (SkCanvas *, bool antiAlias) const =0 |
virtual void | onDraw (SkCanvas *, const SkPaint &) const =0 |
virtual bool | onContains (const SkPoint &) const =0 |
virtual SkPath | onAsPath () const =0 |
![]() | |
Node (uint32_t invalTraits) | |
~Node () override | |
const SkRect & | bounds () const |
bool | hasInval () const |
virtual SkRect | onRevalidate (InvalidationController *, const SkMatrix &ctm)=0 |
void | observeInval (const sk_sp< Node > &) |
void | unobserveInval (const sk_sp< Node > &) |
Friends | |
class | Draw |
Additional Inherited Members | |
![]() | |
enum | InvalTraits { kBubbleDamage_Trait = 1 << 0 , kOverrideDamage_Trait = 1 << 1 } |
Base class for nodes which provide 'geometry' (as opposed to paint) for drawing.
Definition at line 26 of file SkSGGeometryNode.h.
|
protected |
Definition at line 18 of file SkSGGeometryNode.cpp.
SkPath sksg::GeometryNode::asPath | ( | ) | const |
Definition at line 35 of file SkSGGeometryNode.cpp.
void sksg::GeometryNode::clip | ( | SkCanvas * | canvas, |
bool | antiAlias | ||
) | const |
Definition at line 20 of file SkSGGeometryNode.cpp.
bool sksg::GeometryNode::contains | ( | const SkPoint & | p | ) | const |
Definition at line 30 of file SkSGGeometryNode.cpp.
Definition at line 25 of file SkSGGeometryNode.cpp.
|
protectedpure virtual |
Implemented in sksg::GeometryEffect, sksg::Merge, sksg::Path, sksg::Plane, sksg::Rect, sksg::RRect, and sksg::Text.
|
protectedpure virtual |
Implemented in sksg::GeometryEffect, sksg::Merge, sksg::Path, sksg::Plane, sksg::Rect, sksg::RRect, and sksg::Text.
|
protectedpure virtual |
Implemented in sksg::GeometryEffect, sksg::Merge, sksg::Path, sksg::Plane, sksg::Rect, sksg::RRect, and sksg::Text.
|
protectedpure virtual |
Implemented in sksg::GeometryEffect, sksg::Merge, sksg::Path, sksg::Plane, sksg::Rect, sksg::RRect, and sksg::Text.
|
friend |
Definition at line 47 of file SkSGGeometryNode.h.