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

Side by Side Diff: src/core/SkPictureRecord.h

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed pipe-specific issues and updated to ToT Created 7 years, 4 months 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 | Annotate | Revision Log
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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 52 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE;
53 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], 53 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[],
54 const SkPaint&) SK_OVERRIDE; 54 const SkPaint&) SK_OVERRIDE;
55 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; 55 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE;
56 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; 56 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE;
57 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; 57 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE;
58 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; 58 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE;
59 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, 59 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
60 const SkPaint*) SK_OVERRIDE; 60 const SkPaint*) SK_OVERRIDE;
61 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, 61 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src,
62 const SkRect& dst, const SkPaint*) SK_OVER RIDE; 62 const SkRect& dst, const SkPaint* paint,
63 DrawBitmapRectFlags flags) SK_OVERRIDE;
63 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, 64 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&,
64 const SkPaint*) SK_OVERRIDE; 65 const SkPaint*) SK_OVERRIDE;
65 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 66 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
66 const SkRect& dst, const SkPaint*) SK_OVERRIDE; 67 const SkRect& dst, const SkPaint*) SK_OVERRIDE;
67 virtual void drawSprite(const SkBitmap&, int left, int top, 68 virtual void drawSprite(const SkBitmap&, int left, int top,
68 const SkPaint*) SK_OVERRIDE; 69 const SkPaint*) SK_OVERRIDE;
69 virtual void drawText(const void* text, size_t byteLength, SkScalar x, 70 virtual void drawText(const void* text, size_t byteLength, SkScalar x,
70 SkScalar y, const SkPaint&) SK_OVERRIDE; 71 SkScalar y, const SkPaint&) SK_OVERRIDE;
71 virtual void drawPosText(const void* text, size_t byteLength, 72 virtual void drawPosText(const void* text, size_t byteLength,
72 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; 73 const SkPoint pos[], const SkPaint&) SK_OVERRIDE;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 uint32_t fRecordFlags; 241 uint32_t fRecordFlags;
241 int fInitialSaveCount; 242 int fInitialSaveCount;
242 243
243 friend class SkPicturePlayback; 244 friend class SkPicturePlayback;
244 friend class SkPictureTester; // for unit testing 245 friend class SkPictureTester; // for unit testing
245 246
246 typedef SkCanvas INHERITED; 247 typedef SkCanvas INHERITED;
247 }; 248 };
248 249
249 #endif 250 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698