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

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: 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 * 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const SkPaint& paint) SK_OVERRIDE; 163 const SkPaint& paint) SK_OVERRIDE;
164 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; 164 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
165 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE; 165 virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE;
166 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; 166 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
167 virtual void drawPath(const SkPath& path, const SkPaint& paint) 167 virtual void drawPath(const SkPath& path, const SkPaint& paint)
168 SK_OVERRIDE; 168 SK_OVERRIDE;
169 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, 169 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left,
170 SkScalar top, const SkPaint* paint) 170 SkScalar top, const SkPaint* paint)
171 SK_OVERRIDE; 171 SK_OVERRIDE;
172 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 172 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
173 const SkRect& dst, const SkPaint* paint) 173 const SkRect& dst, const SkPaint* paint,
174 SK_OVERRIDE; 174 DrawBitmapRectFlags flags) SK_OVERRIDE;
175 175
176 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 176 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
177 const SkPaint* paint) SK_OVERRIDE; 177 const SkPaint* paint) SK_OVERRIDE;
178 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 178 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
179 const SkRect& dst, const SkPaint* paint) 179 const SkRect& dst, const SkPaint* paint)
180 SK_OVERRIDE; 180 SK_OVERRIDE;
181 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 181 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
182 const SkPaint* paint) SK_OVERRIDE; 182 const SkPaint* paint) SK_OVERRIDE;
183 virtual void drawText(const void* text, size_t byteLength, SkScalar x, 183 virtual void drawText(const void* text, size_t byteLength, SkScalar x,
184 SkScalar y, const SkPaint& paint) SK_OVERRIDE; 184 SkScalar y, const SkPaint& paint) SK_OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 void validate() const; 247 void validate() const;
248 void init(); 248 void init();
249 bool fDeferredDrawing; 249 bool fDeferredDrawing;
250 250
251 friend class SkDeferredCanvasTester; // for unit testing 251 friend class SkDeferredCanvasTester; // for unit testing
252 typedef SkCanvas INHERITED; 252 typedef SkCanvas INHERITED;
253 }; 253 };
254 254
255 255
256 #endif 256 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698