Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: include/utils/SkNWayCanvas.h

Issue 1529803004: Revert of remove drawSprite from canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | include/utils/SkPaintFilterCanvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkNWayCanvas_DEFINED 9 #ifndef SkNWayCanvas_DEFINED
10 #define SkNWayCanvas_DEFINED 10 #define SkNWayCanvas_DEFINED
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void onDrawRRect(const SkRRect&, const SkPaint&) override; 58 void onDrawRRect(const SkRRect&, const SkPaint&) override;
59 void onDrawPath(const SkPath&, const SkPaint&) override; 59 void onDrawPath(const SkPath&, const SkPaint&) override;
60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 60 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 61 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
62 SrcRectConstraint) override; 62 SrcRectConstraint) override;
63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 63 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 64 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
65 const SkPaint*, SrcRectConstraint) override; 65 const SkPaint*, SrcRectConstraint) override;
66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 66 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
67 const SkPaint*) override; 67 const SkPaint*) override;
68 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri de;
68 void onDrawVertices(VertexMode vmode, int vertexCount, 69 void onDrawVertices(VertexMode vmode, int vertexCount,
69 const SkPoint vertices[], const SkPoint texs[], 70 const SkPoint vertices[], const SkPoint texs[],
70 const SkColor colors[], SkXfermode* xmode, 71 const SkColor colors[], SkXfermode* xmode,
71 const uint16_t indices[], int indexCount, 72 const uint16_t indices[], int indexCount,
72 const SkPaint&) override; 73 const SkPaint&) override;
73 74
74 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 75 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
75 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 76 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
76 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 77 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
77 void onClipRegion(const SkRegion&, SkRegion::Op) override; 78 void onClipRegion(const SkRegion&, SkRegion::Op) override;
78 79
79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 80 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
80 81
81 class Iter; 82 class Iter;
82 83
83 private: 84 private:
84 typedef SkCanvas INHERITED; 85 typedef SkCanvas INHERITED;
85 }; 86 };
86 87
87 88
88 #endif 89 #endif
OLDNEW
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | include/utils/SkPaintFilterCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698