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

Side by Side Diff: include/utils/SkDeferredCanvas.h

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Updated .skp version number 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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 SkDeferredCanvas_DEFINED 8 #ifndef SkDeferredCanvas_DEFINED
9 #define SkDeferredCanvas_DEFINED 9 #define SkDeferredCanvas_DEFINED
10 10
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const SkPaint& paint) SK_OVERRIDE; 200 const SkPaint& paint) SK_OVERRIDE;
201 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 201 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
202 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 202 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE;
203 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 203 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
204 virtual void drawPath(const SkPath& path, const SkPaint& paint) 204 virtual void drawPath(const SkPath& path, const SkPaint& paint)
205 SK_OVERRIDE; 205 SK_OVERRIDE;
206 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, 206 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left,
207 SkScalar top, const SkPaint* paint) 207 SkScalar top, const SkPaint* paint)
208 SK_OVERRIDE; 208 SK_OVERRIDE;
209 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 209 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
210 const SkRect& dst, const SkPaint* paint) 210 const SkRect& dst, const SkPaint* paint,
211 SK_OVERRIDE; 211 DrawBitmapRectFlags flags) SK_OVERRIDE;
212 212
213 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 213 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
214 const SkPaint* paint) SK_OVERRIDE; 214 const SkPaint* paint) SK_OVERRIDE;
215 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 215 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
216 const SkRect& dst, const SkPaint* paint) 216 const SkRect& dst, const SkPaint* paint)
217 SK_OVERRIDE; 217 SK_OVERRIDE;
218 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 218 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
219 const SkPaint* paint) SK_OVERRIDE; 219 const SkPaint* paint) SK_OVERRIDE;
220 virtual void drawText(const void* text, size_t byteLength, SkScalar x, 220 virtual void drawText(const void* text, size_t byteLength, SkScalar x,
221 SkScalar y, const SkPaint& paint) SK_OVERRIDE; 221 SkScalar y, const SkPaint& paint) SK_OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 void validate() const; 284 void validate() const;
285 void init(); 285 void init();
286 bool fDeferredDrawing; 286 bool fDeferredDrawing;
287 287
288 friend class SkDeferredCanvasTester; // for unit testing 288 friend class SkDeferredCanvasTester; // for unit testing
289 typedef SkCanvas INHERITED; 289 typedef SkCanvas INHERITED;
290 }; 290 };
291 291
292 292
293 #endif 293 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698