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

Side by Side Diff: include/utils/SkProxyCanvas.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/SkNWayCanvas.h ('k') | src/core/SkCanvas.cpp » ('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 SkProxyCanvas_DEFINED 8 #ifndef SkProxyCanvas_DEFINED
9 #define SkProxyCanvas_DEFINED 9 #define SkProxyCanvas_DEFINED
10 10
(...skipping 20 matching lines...) Expand all
31 const SkPaint& paint) SK_OVERRIDE; 31 const SkPaint& paint) SK_OVERRIDE;
32 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 32 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
33 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 33 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
34 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 34 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
35 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 35 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE;
36 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 36 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
37 const SkPaint* paint = NULL) SK_OVERRIDE; 37 const SkPaint* paint = NULL) SK_OVERRIDE;
38 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 38 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
39 const SkRect& dst, const SkPaint* paint, 39 const SkRect& dst, const SkPaint* paint,
40 DrawBitmapRectFlags flags) SK_OVERRIDE; 40 DrawBitmapRectFlags flags) SK_OVERRIDE;
41 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
42 const SkPaint* paint = NULL) SK_OVERRIDE;
43 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top, 41 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top,
44 const SkPaint* paint = NULL) SK_OVERRIDE; 42 const SkPaint* paint = NULL) SK_OVERRIDE;
45 virtual void drawImageRect(const SkImage* image, const SkRect* src, 43 virtual void drawImageRect(const SkImage* image, const SkRect* src,
46 const SkRect& dst, 44 const SkRect& dst,
47 const SkPaint* paint = NULL) SK_OVERRIDE; 45 const SkPaint* paint = NULL) SK_OVERRIDE;
48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 46 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
49 const SkPaint* paint = NULL) SK_OVERRIDE; 47 const SkPaint* paint = NULL) SK_OVERRIDE;
50 virtual void drawVertices(VertexMode vmode, int vertexCount, 48 virtual void drawVertices(VertexMode vmode, int vertexCount,
51 const SkPoint vertices[], const SkPoint texs[], 49 const SkPoint vertices[], const SkPoint texs[],
52 const SkColor colors[], SkXfermode* xmode, 50 const SkColor colors[], SkXfermode* xmode,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 88
91 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE; 89 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE;
92 90
93 private: 91 private:
94 SkCanvas* fProxy; 92 SkCanvas* fProxy;
95 93
96 typedef SkCanvas INHERITED; 94 typedef SkCanvas INHERITED;
97 }; 95 };
98 96
99 #endif 97 #endif
OLDNEW
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698