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

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

Issue 2355483002: abstract name of clipping ops, to transtion to a more restricted set (Closed)
Patch Set: no need for ifdef for globals Created 4 years, 3 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
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | public.bzl » ('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 /* 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 69 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
70 const SkPaint*, SrcRectConstraint) override; 70 const SkPaint*, SrcRectConstraint) override;
71 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 71 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
72 const SkPaint*) override; 72 const SkPaint*) override;
73 void onDrawVertices(VertexMode vmode, int vertexCount, 73 void onDrawVertices(VertexMode vmode, int vertexCount,
74 const SkPoint vertices[], const SkPoint texs[], 74 const SkPoint vertices[], const SkPoint texs[],
75 const SkColor colors[], SkXfermode* xmode, 75 const SkColor colors[], SkXfermode* xmode,
76 const uint16_t indices[], int indexCount, 76 const uint16_t indices[], int indexCount,
77 const SkPaint&) override; 77 const SkPaint&) override;
78 78
79 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 79 void onClipRect(const SkRect&, ClipOp, ClipEdgeStyle) override;
80 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 80 void onClipRRect(const SkRRect&, ClipOp, ClipEdgeStyle) override;
81 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 81 void onClipPath(const SkPath&, ClipOp, ClipEdgeStyle) override;
82 void onClipRegion(const SkRegion&, SkRegion::Op) override; 82 void onClipRegion(const SkRegion&, ClipOp) override;
83 83
84 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 84 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
85 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 85 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
86 86
87 class Iter; 87 class Iter;
88 88
89 private: 89 private:
90 typedef SkCanvas INHERITED; 90 typedef SkCanvas INHERITED;
91 }; 91 };
92 92
93 93
94 #endif 94 #endif
OLDNEW
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | public.bzl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698