8 #ifndef SkSGMerge_DEFINED
9 #define SkSGMerge_DEFINED
59 Merge(std::vector<Rec>&& recs);
61 const std::vector<Rec> fRecs;
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
SkPath contain geometry.
Definition: SkPath.h:58
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220
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
Concrete Geometry node, combining other geometries based on Mode.
Definition: SkSGMerge.h:25
static sk_sp< Merge > Make(std::vector< Rec > &&recs)
Definition: SkSGMerge.h:44
void onClip(SkCanvas *, bool antiAlias) const override
bool onContains(const SkPoint &) const override
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
SkPath onAsPath() const override
Mode
Definition: SkSGMerge.h:27
void onDraw(SkCanvas *, const SkPaint &) const override
Base class for all scene graph nodes.
Definition: SkSGNode.h:32
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582
Definition: SkSGMerge.h:39
sk_sp< GeometryNode > fGeo
Definition: SkSGMerge.h:40
Mode fMode
Definition: SkSGMerge.h:41