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

Side by Side Diff: src/core/SkPictureRecord.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/SkPicturePlayback.cpp ('k') | src/core/SkPictureRecord.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 2011 Google Inc. 2 * Copyright 2011 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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 23 matching lines...) Expand all
34 const SkPaint&) SK_OVERRIDE; 34 const SkPaint&) SK_OVERRIDE;
35 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; 35 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE;
36 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; 36 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE;
37 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; 37 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE;
38 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; 38 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE;
39 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, 39 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
40 const SkPaint*) SK_OVERRIDE; 40 const SkPaint*) SK_OVERRIDE;
41 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, 41 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src,
42 const SkRect& dst, const SkPaint* paint, 42 const SkRect& dst, const SkPaint* paint,
43 DrawBitmapRectFlags flags) SK_OVERRIDE; 43 DrawBitmapRectFlags flags) SK_OVERRIDE;
44 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&,
45 const SkPaint*) SK_OVERRIDE;
46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 44 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
47 const SkRect& dst, const SkPaint*) SK_OVERRIDE; 45 const SkRect& dst, const SkPaint*) SK_OVERRIDE;
48 virtual void drawSprite(const SkBitmap&, int left, int top, 46 virtual void drawSprite(const SkBitmap&, int left, int top,
49 const SkPaint*) SK_OVERRIDE; 47 const SkPaint*) SK_OVERRIDE;
50 virtual void drawVertices(VertexMode, int vertexCount, 48 virtual void drawVertices(VertexMode, int vertexCount,
51 const SkPoint vertices[], const SkPoint texs[], 49 const SkPoint vertices[], const SkPoint texs[],
52 const SkColor colors[], SkXfermode*, 50 const SkColor colors[], SkXfermode*,
53 const uint16_t indices[], int indexCount, 51 const uint16_t indices[], int indexCount,
54 const SkPaint&) SK_OVERRIDE; 52 const SkPaint&) SK_OVERRIDE;
55 virtual void drawData(const void*, size_t) SK_OVERRIDE; 53 virtual void drawData(const void*, size_t) SK_OVERRIDE;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 242
245 uint32_t fRecordFlags; 243 uint32_t fRecordFlags;
246 int fInitialSaveCount; 244 int fInitialSaveCount;
247 245
248 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 246 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
249 247
250 typedef SkCanvas INHERITED; 248 typedef SkCanvas INHERITED;
251 }; 249 };
252 250
253 #endif 251 #endif
OLDNEW
« no previous file with comments | « src/core/SkPicturePlayback.cpp ('k') | src/core/SkPictureRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698