8 #ifndef SkSGGeometryEffect_DEFINED
9 #define SkSGGeometryEffect_DEFINED
75 return child && transform
77 std::move(transform)))
116 std::vector<float> fIntervals;
#define SG_ATTRIBUTE(attr_name, attr_type, attr_container)
Definition: SkSGNode.h:99
float SkScalar
Definition: SkScalar.h:14
SkCanvas provides an interface for drawing, and how the drawing is clipped and transformed.
Definition: SkCanvas.h:99
SkMatrix holds a 3x3 matrix for transforming coordinates.
Definition: SkMatrix.h:53
SkPaint controls options applied when drawing.
Definition: SkPaint.h:44
Join
Definition: SkPaint.h:358
@ kMiter_Join
extends to miter limit
Definition: SkPaint.h:359
SkPath contain geometry.
Definition: SkPath.h:58
Mode
Definition: SkTrimPathEffect.h:19
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220
Apply a dash effect to the child geometry.
Definition: SkSGGeometryEffect.h:102
static sk_sp< DashEffect > Make(sk_sp< GeometryNode > child)
Definition: SkSGGeometryEffect.h:104
Base class for geometry effects.
Definition: SkSGGeometryEffect.h:23
void onDraw(SkCanvas *, const SkPaint &) const final
~GeometryEffect() override
bool onContains(const SkPoint &) const final
virtual SkPath onRevalidateEffect(const sk_sp< GeometryNode > &)=0
void onClip(SkCanvas *, bool antiAlias) const final
GeometryEffect(sk_sp< GeometryNode >)
SkRect onRevalidate(InvalidationController *, const SkMatrix &) final
SkPath onAsPath() const final
Base class for nodes which provide 'geometry' (as opposed to paint) for drawing.
Definition: SkSGGeometryNode.h:25
Receiver for invalidation events.
Definition: SkSGInvalidationController.h:25
Apply an offset effect to the child geometry.
Definition: SkSGGeometryEffect.h:146
static sk_sp< OffsetEffect > Make(sk_sp< GeometryNode > child)
Definition: SkSGGeometryEffect.h:148
Apply a rounded-corner effect to the child geometry.
Definition: SkSGGeometryEffect.h:125
static sk_sp< RoundEffect > Make(sk_sp< GeometryNode > child)
Definition: SkSGGeometryEffect.h:127
Apply a trim effect to the child geometry.
Definition: SkSGGeometryEffect.h:47
static sk_sp< TrimEffect > Make(sk_sp< GeometryNode > child)
Definition: SkSGGeometryEffect.h:49
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582