83 if (fIndex < fList.
size()) {
84 fCanvas = fList[fIndex++];
100 while (iter.
next()) {
109 while (iter.
next()) {
120 while (iter.
next()) {
129 while (iter.
next()) {
137 while (iter.
next()) {
144 while (iter.
next()) {
151 while (iter.
next()) {
158 while (iter.
next()) {
165 while (iter.
next()) {
173 while (iter.
next()) {
181 while (iter.
next()) {
189 while (iter.
next()) {
197 while (iter.
next()) {
205 while (iter.
next()) {
213 while (iter.
next()) {
220 while (iter.
next()) {
228 while (iter.
next()) {
235 while (iter.
next()) {
242 while (iter.
next()) {
249 while (iter.
next()) {
257 while (iter.
next()) {
258 iter->
drawArc(rect, startAngle, sweepAngle, useCenter,
paint);
264 while (iter.
next()) {
271 while (iter.
next()) {
278 while (iter.
next()) {
286 while (iter.
next()) {
295 while (iter.
next()) {
304 while (iter.
next()) {
314 while (iter.
next()) {
322 while (iter.
next()) {
330 while (iter.
next()) {
337 while (iter.
next()) {
338 iter->drawSlug(slug,
paint);
345 while (iter.
next()) {
352 while (iter.
next()) {
360 while (iter.
next()) {
369 while (iter.
next()) {
376 while (iter.
next()) {
383 while (iter.
next()) {
391 while (iter.
next()) {
401 while (iter.
next()) {
403 set,
count, dstClips, preViewMatrices, sampling,
paint, constraint);
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
static bool left(const SkPoint &p0, const SkPoint &p1)
static void ResetClip(SkCanvas *canvas)
static void DrawBehind(SkCanvas *canvas, const SkPaint &paint)
static int SaveBehind(SkCanvas *canvas, const SkRect *subset)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawOval(const SkRect &oval, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint)
void drawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode mode, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
virtual void onClipShader(sk_sp< SkShader >, SkClipOp)
void drawPaint(const SkPaint &paint)
void private_draw_shadow_rec(const SkPath &, const SkDrawShadowRec &)
void drawDrawable(SkDrawable *drawable, const SkMatrix *matrix=nullptr)
void drawAnnotation(const SkRect &rect, const char key[], SkData *value)
friend class SkNWayCanvas
virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec &)
virtual void onClipRect(const SkRect &rect, SkClipOp op, ClipEdgeStyle edgeStyle)
virtual void onResetClip()
void clipRegion(const SkRegion &deviceRgn, SkClipOp op=SkClipOp::kIntersect)
void experimental_DrawEdgeAAQuad(const SkRect &rect, const SkPoint clip[4], QuadAAFlags aaFlags, const SkColor4f &color, SkBlendMode mode)
@ kNoLayer_SaveLayerStrategy
virtual void willRestore()
void experimental_DrawEdgeAAImageSet(const ImageSetEntry imageSet[], int cnt, const SkPoint dstClips[], const SkMatrix preViewMatrices[], const SkSamplingOptions &, const SkPaint *paint=nullptr, SrcRectConstraint constraint=kStrict_SrcRectConstraint)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
void drawArc(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint)
void drawImageLattice(const SkImage *image, const Lattice &lattice, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
void drawRegion(const SkRegion ®ion, const SkPaint &paint)
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
void drawPath(const SkPath &path, const SkPaint &paint)
void drawAtlas(const SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions &sampling, const SkRect *cullRect, const SkPaint *paint)
void setMatrix(const SkM44 &matrix)
virtual void onClipRRect(const SkRRect &rrect, SkClipOp op, ClipEdgeStyle edgeStyle)
virtual void onClipPath(const SkPath &path, SkClipOp op, ClipEdgeStyle edgeStyle)
void drawDRRect(const SkRRect &outer, const SkRRect &inner, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
void concat(const SkMatrix &matrix)
virtual bool onDoSaveBehind(const SkRect *)
virtual void onDrawGlyphRunList(const sktext::GlyphRunList &glyphRunList, const SkPaint &paint)
void drawPicture(const SkPicture *picture)
void clipShader(sk_sp< SkShader >, SkClipOp=SkClipOp::kIntersect)
void drawVertices(const SkVertices *vertices, SkBlendMode mode, const SkPaint &paint)
void drawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
virtual void onClipRegion(const SkRegion &deviceRgn, SkClipOp op)
void clipRRect(const SkRRect &rrect, SkClipOp op, bool doAntiAlias)
Iter(const SkTDArray< SkCanvas * > &list)
void onDrawDRRect(const SkRRect &, const SkRRect &, const SkPaint &) override
void onDrawRRect(const SkRRect &, const SkPaint &) override
void onResetClip() override
virtual void addCanvas(SkCanvas *)
void onDrawRect(const SkRect &, const SkPaint &) override
void onDrawVerticesObject(const SkVertices *, SkBlendMode, const SkPaint &) override
void onDrawArc(const SkRect &, SkScalar, SkScalar, bool, const SkPaint &) override
void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode, const SkPaint &paint) override
void onDrawPath(const SkPath &, const SkPaint &) override
void onDrawPicture(const SkPicture *, const SkMatrix *, const SkPaint *) override
void didScale(SkScalar, SkScalar) override
void onDrawImageLattice2(const SkImage *, const Lattice &, const SkRect &, SkFilterMode, const SkPaint *) override
void onDrawRegion(const SkRegion &, const SkPaint &) override
void onDrawAnnotation(const SkRect &, const char[], SkData *) override
void onDrawDrawable(SkDrawable *, const SkMatrix *) override
void onDrawBehind(const SkPaint &) override
virtual void removeCanvas(SkCanvas *)
void onDrawImage2(const SkImage *, SkScalar, SkScalar, const SkSamplingOptions &, const SkPaint *) override
void onClipRect(const SkRect &, SkClipOp, ClipEdgeStyle) override
void onDrawAtlas2(const SkImage *, const SkRSXform[], const SkRect[], const SkColor[], int, SkBlendMode, const SkSamplingOptions &, const SkRect *, const SkPaint *) override
void onClipRegion(const SkRegion &, SkClipOp) override
void onClipRRect(const SkRRect &, SkClipOp, ClipEdgeStyle) override
SkTDArray< SkCanvas * > fList
void onDrawPaint(const SkPaint &) override
SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec &) override
void willRestore() override
void didTranslate(SkScalar, SkScalar) override
void onDrawShadowRec(const SkPath &, const SkDrawShadowRec &) override
void onDrawEdgeAAImageSet2(const ImageSetEntry[], int count, const SkPoint[], const SkMatrix[], const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override
void onDrawImageRect2(const SkImage *, const SkRect &, const SkRect &, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override
void onDrawEdgeAAQuad(const SkRect &, const SkPoint[4], QuadAAFlags, const SkColor4f &, SkBlendMode) override
void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) override
void onClipPath(const SkPath &, SkClipOp, ClipEdgeStyle) override
void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint &) override
void onDrawGlyphRunList(const sktext::GlyphRunList &, const SkPaint &) override
void didSetM44(const SkM44 &) override
void onDrawOval(const SkRect &, const SkPaint &) override
void onDrawSlug(const sktext::gpu::Slug *slug, const SkPaint &paint) override
void onClipShader(sk_sp< SkShader >, SkClipOp) override
void didConcat44(const SkM44 &) override
bool onDoSaveBehind(const SkRect *) override
void removeShuffle(int index)