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

Side by Side Diff: include/utils/SkDeferredCanvas.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/core/SkCanvas.h ('k') | include/utils/SkDumpCanvas.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkDeferredCanvas_DEFINED 8 #ifndef SkDeferredCanvas_DEFINED
9 #define SkDeferredCanvas_DEFINED 9 #define SkDeferredCanvas_DEFINED
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 153 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
154 virtual void drawPath(const SkPath& path, const SkPaint& paint) 154 virtual void drawPath(const SkPath& path, const SkPaint& paint)
155 SK_OVERRIDE; 155 SK_OVERRIDE;
156 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, 156 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left,
157 SkScalar top, const SkPaint* paint) 157 SkScalar top, const SkPaint* paint)
158 SK_OVERRIDE; 158 SK_OVERRIDE;
159 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 159 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
160 const SkRect& dst, const SkPaint* paint, 160 const SkRect& dst, const SkPaint* paint,
161 DrawBitmapRectFlags flags) SK_OVERRIDE; 161 DrawBitmapRectFlags flags) SK_OVERRIDE;
162 162
163 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
164 const SkPaint* paint) SK_OVERRIDE;
165 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 163 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
166 const SkRect& dst, const SkPaint* paint) 164 const SkRect& dst, const SkPaint* paint)
167 SK_OVERRIDE; 165 SK_OVERRIDE;
168 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 166 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
169 const SkPaint* paint) SK_OVERRIDE; 167 const SkPaint* paint) SK_OVERRIDE;
170 virtual void drawVertices(VertexMode vmode, int vertexCount, 168 virtual void drawVertices(VertexMode vmode, int vertexCount,
171 const SkPoint vertices[], const SkPoint texs[], 169 const SkPoint vertices[], const SkPoint texs[],
172 const SkColor colors[], SkXfermode* xmode, 170 const SkColor colors[], SkXfermode* xmode,
173 const uint16_t indices[], int indexCount, 171 const uint16_t indices[], int indexCount,
174 const SkPaint& paint) SK_OVERRIDE; 172 const SkPaint& paint) SK_OVERRIDE;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 253
256 mutable SkISize fCachedCanvasSize; 254 mutable SkISize fCachedCanvasSize;
257 mutable bool fCachedCanvasSizeDirty; 255 mutable bool fCachedCanvasSizeDirty;
258 256
259 friend class SkDeferredCanvasTester; // for unit testing 257 friend class SkDeferredCanvasTester; // for unit testing
260 typedef SkCanvas INHERITED; 258 typedef SkCanvas INHERITED;
261 }; 259 };
262 260
263 261
264 #endif 262 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/utils/SkDumpCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698