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

Side by Side Diff: src/core/SkRecorder.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 | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.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 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 SkRecorder_DEFINED 8 #ifndef SkRecorder_DEFINED
9 #define SkRecorder_DEFINED 9 #define SkRecorder_DEFINED
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; 56 void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE;
57 void drawBitmap(const SkBitmap& bitmap, 57 void drawBitmap(const SkBitmap& bitmap,
58 SkScalar left, 58 SkScalar left,
59 SkScalar top, 59 SkScalar top,
60 const SkPaint* paint = NULL) SK_OVERRIDE; 60 const SkPaint* paint = NULL) SK_OVERRIDE;
61 void drawBitmapRectToRect(const SkBitmap& bitmap, 61 void drawBitmapRectToRect(const SkBitmap& bitmap,
62 const SkRect* src, 62 const SkRect* src,
63 const SkRect& dst, 63 const SkRect& dst,
64 const SkPaint* paint = NULL, 64 const SkPaint* paint = NULL,
65 DrawBitmapRectFlags flags = kNone_DrawBitmapRectFl ag) SK_OVERRIDE; 65 DrawBitmapRectFlags flags = kNone_DrawBitmapRectFl ag) SK_OVERRIDE;
66 void drawBitmapMatrix(const SkBitmap& bitmap,
67 const SkMatrix& m,
68 const SkPaint* paint = NULL) SK_OVERRIDE;
69 void drawBitmapNine(const SkBitmap& bitmap, 66 void drawBitmapNine(const SkBitmap& bitmap,
70 const SkIRect& center, 67 const SkIRect& center,
71 const SkRect& dst, 68 const SkRect& dst,
72 const SkPaint* paint = NULL) SK_OVERRIDE; 69 const SkPaint* paint = NULL) SK_OVERRIDE;
73 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top, 70 virtual void drawImage(const SkImage* image, SkScalar left, SkScalar top,
74 const SkPaint* paint = NULL) SK_OVERRIDE; 71 const SkPaint* paint = NULL) SK_OVERRIDE;
75 virtual void drawImageRect(const SkImage* image, const SkRect* src, 72 virtual void drawImageRect(const SkImage* image, const SkRect* src,
76 const SkRect& dst, 73 const SkRect& dst,
77 const SkPaint* paint = NULL) SK_OVERRIDE; 74 const SkPaint* paint = NULL) SK_OVERRIDE;
78 void drawSprite(const SkBitmap& bitmap, 75 void drawSprite(const SkBitmap& bitmap,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 155 }
159 156
160 SkRecord* fRecord; 157 SkRecord* fRecord;
161 158
162 int fSaveLayerCount; 159 int fSaveLayerCount;
163 SkTDArray<SkBool8> fSaveIsSaveLayer; 160 SkTDArray<SkBool8> fSaveIsSaveLayer;
164 SkAutoTDelete<SkCanvasDrawableList> fDrawableList; 161 SkAutoTDelete<SkCanvasDrawableList> fDrawableList;
165 }; 162 };
166 163
167 #endif//SkRecorder_DEFINED 164 #endif//SkRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698