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

Side by Side Diff: include/utils/SkNWayCanvas.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 8
9 #ifndef SkNWayCanvas_DEFINED 9 #ifndef SkNWayCanvas_DEFINED
10 #define SkNWayCanvas_DEFINED 10 #define SkNWayCanvas_DEFINED
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 42 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE;
43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], 43 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[],
44 const SkPaint&) SK_OVERRIDE; 44 const SkPaint&) SK_OVERRIDE;
45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; 45 virtual void drawOval(const SkRect&, const SkPaint&) SK_OVERRIDE;
46 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; 46 virtual void drawRect(const SkRect&, const SkPaint&) SK_OVERRIDE;
47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; 47 virtual void drawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE;
48 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; 48 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE;
49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
50 const SkPaint*) SK_OVERRIDE; 50 const SkPaint*) SK_OVERRIDE;
51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
52 const SkRect& dst, const SkPaint*) SK_OVERRIDE; 52 const SkRect& dst, const SkPaint* paint,
53 DrawBitmapRectFlags flags) SK_OVERRIDE;
53 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 54 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
54 const SkPaint*) SK_OVERRIDE; 55 const SkPaint*) SK_OVERRIDE;
55 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 56 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
56 const SkPaint*) SK_OVERRIDE; 57 const SkPaint*) SK_OVERRIDE;
57 virtual void drawText(const void* text, size_t byteLength, SkScalar x, 58 virtual void drawText(const void* text, size_t byteLength, SkScalar x,
58 SkScalar y, const SkPaint&) SK_OVERRIDE; 59 SkScalar y, const SkPaint&) SK_OVERRIDE;
59 virtual void drawPosText(const void* text, size_t byteLength, 60 virtual void drawPosText(const void* text, size_t byteLength,
60 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; 61 const SkPoint pos[], const SkPaint&) SK_OVERRIDE;
61 virtual void drawPosTextH(const void* text, size_t byteLength, 62 virtual void drawPosTextH(const void* text, size_t byteLength,
62 const SkScalar xpos[], SkScalar constY, 63 const SkScalar xpos[], SkScalar constY,
(...skipping 18 matching lines...) Expand all
81 private: 82 private:
82 SkTDArray<SkCanvas*> fList; 83 SkTDArray<SkCanvas*> fList;
83 84
84 class Iter; 85 class Iter;
85 86
86 typedef SkCanvas INHERITED; 87 typedef SkCanvas INHERITED;
87 }; 88 };
88 89
89 90
90 #endif 91 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698