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

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

Issue 18552004: Remove SkRasterClip::setPath(const SkPath&, const SkRasterClip&, bool). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Added some comments. Created 7 years, 5 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
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkRasterClip.cpp » ('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 * Copyright 2010 Google Inc. 2 * Copyright 2010 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 SkRasterClip_DEFINED 8 #ifndef SkRasterClip_DEFINED
9 #define SkRasterClip_DEFINED 9 #define SkRasterClip_DEFINED
10 10
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 bool isComplex() const; 36 bool isComplex() const;
37 const SkIRect& getBounds() const; 37 const SkIRect& getBounds() const;
38 38
39 bool setEmpty(); 39 bool setEmpty();
40 bool setRect(const SkIRect&); 40 bool setRect(const SkIRect&);
41 41
42 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); 42 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
43 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA); 43 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
44 bool setPath(const SkPath& path, const SkRasterClip&, bool doAA);
45 44
46 bool op(const SkIRect&, SkRegion::Op); 45 bool op(const SkIRect&, SkRegion::Op);
47 bool op(const SkRegion&, SkRegion::Op); 46 bool op(const SkRegion&, SkRegion::Op);
48 bool op(const SkRasterClip&, SkRegion::Op); 47 bool op(const SkRasterClip&, SkRegion::Op);
49 bool op(const SkRect&, SkRegion::Op, bool doAA); 48 bool op(const SkRect&, SkRegion::Op, bool doAA);
50 49
51 void translate(int dx, int dy, SkRasterClip* dst) const; 50 void translate(int dx, int dy, SkRasterClip* dst) const;
52 void translate(int dx, int dy) { 51 void translate(int dx, int dy) {
53 this->translate(dx, dy, this); 52 this->translate(dx, dy, this);
54 } 53 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 153
155 private: 154 private:
156 SkRegion fBWRgn; 155 SkRegion fBWRgn;
157 SkAAClipBlitter fAABlitter; 156 SkAAClipBlitter fAABlitter;
158 // what we return 157 // what we return
159 const SkRegion* fClipRgn; 158 const SkRegion* fClipRgn;
160 SkBlitter* fBlitter; 159 SkBlitter* fBlitter;
161 }; 160 };
162 161
163 #endif 162 #endif
OLDNEW
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkRasterClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698