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

Side by Side Diff: include/utils/SkNWayCanvas.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/SkLuaCanvas.h ('k') | include/utils/SkProxyCanvas.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 22 matching lines...) Expand all
33 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 33 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
34 const SkPaint*) SK_OVERRIDE; 34 const SkPaint*) SK_OVERRIDE;
35 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 35 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
36 const SkRect& dst, const SkPaint* paint, 36 const SkRect& dst, const SkPaint* paint,
37 DrawBitmapRectFlags flags) SK_OVERRIDE; 37 DrawBitmapRectFlags flags) SK_OVERRIDE;
38 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top, 38 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top,
39 const SkPaint* paint) SK_OVERRIDE; 39 const SkPaint* paint) SK_OVERRIDE;
40 virtual void drawImageRect(const SkImage* image, const SkRect* src, 40 virtual void drawImageRect(const SkImage* image, const SkRect* src,
41 const SkRect& dst, 41 const SkRect& dst,
42 const SkPaint* paint) SK_OVERRIDE; 42 const SkPaint* paint) SK_OVERRIDE;
43 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
44 const SkPaint*) SK_OVERRIDE;
45 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 43 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
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*) SK_OVERRIDE; 47 const SkPaint*) 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,
53 const uint16_t indices[], int indexCount, 51 const uint16_t indices[], int indexCount,
54 const SkPaint&) SK_OVERRIDE; 52 const SkPaint&) SK_OVERRIDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE; 91 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE;
94 92
95 class Iter; 93 class Iter;
96 94
97 private: 95 private:
98 typedef SkCanvas INHERITED; 96 typedef SkCanvas INHERITED;
99 }; 97 };
100 98
101 99
102 #endif 100 #endif
OLDNEW
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | include/utils/SkProxyCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698