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

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

Issue 789033002: Remove SkCanvas::drawBitmapMatrix() (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: non-const canvas ptr Created 6 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/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.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 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const SkPaint& paint) SK_OVERRIDE; 80 const SkPaint& paint) SK_OVERRIDE;
81 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 81 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
82 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 82 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
83 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 83 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
84 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 84 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE;
85 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 85 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
86 const SkPaint* paint) SK_OVERRIDE; 86 const SkPaint* paint) SK_OVERRIDE;
87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
88 const SkRect& dst, const SkPaint* paint, 88 const SkRect& dst, const SkPaint* paint,
89 DrawBitmapRectFlags flags) SK_OVERRIDE; 89 DrawBitmapRectFlags flags) SK_OVERRIDE;
90 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
91 const SkPaint* paint) SK_OVERRIDE;
92 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 90 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
93 const SkPaint* paint) SK_OVERRIDE; 91 const SkPaint* paint) SK_OVERRIDE;
94 virtual void drawVertices(VertexMode vmode, int vertexCount, 92 virtual void drawVertices(VertexMode vmode, int vertexCount,
95 const SkPoint vertices[], const SkPoint texs[], 93 const SkPoint vertices[], const SkPoint texs[],
96 const SkColor colors[], SkXfermode* xmode, 94 const SkColor colors[], SkXfermode* xmode,
97 const uint16_t indices[], int indexCount, 95 const uint16_t indices[], int indexCount,
98 const SkPaint& paint) SK_OVERRIDE; 96 const SkPaint& paint) SK_OVERRIDE;
99 virtual void drawData(const void*, size_t) SK_OVERRIDE; 97 virtual void drawData(const void*, size_t) SK_OVERRIDE;
100 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 98 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
101 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 99 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 public: 167 public:
170 SkDebugfDumper(); 168 SkDebugfDumper();
171 169
172 private: 170 private:
173 typedef SkFormatDumper INHERITED; 171 typedef SkFormatDumper INHERITED;
174 }; 172 };
175 173
176 #endif 174 #endif
177 175
178 #endif 176 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698