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

Side by Side Diff: include/core/SkPathEffect.h

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Adapting code to sk_once changes Created 7 years, 2 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 | « include/core/SkMaskFilter.h ('k') | include/core/SkPixelRef.h » ('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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #ifndef SkPathEffect_DEFINED 10 #ifndef SkPathEffect_DEFINED
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 }; 99 };
100 100
101 /** 101 /**
102 * Does applying this path effect to 'src' yield a set of points? If so, 102 * Does applying this path effect to 'src' yield a set of points? If so,
103 * optionally return the points in 'results'. 103 * optionally return the points in 'results'.
104 */ 104 */
105 virtual bool asPoints(PointData* results, const SkPath& src, 105 virtual bool asPoints(PointData* results, const SkPath& src,
106 const SkStrokeRec&, const SkMatrix&, 106 const SkStrokeRec&, const SkMatrix&,
107 const SkRect* cullR) const; 107 const SkRect* cullR) const;
108 108
109 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect)
110
109 protected: 111 protected:
110 SkPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 112 SkPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
111 113
112 private: 114 private:
113 // illegal 115 // illegal
114 SkPathEffect(const SkPathEffect&); 116 SkPathEffect(const SkPathEffect&);
115 SkPathEffect& operator=(const SkPathEffect&); 117 SkPathEffect& operator=(const SkPathEffect&);
116 118
117 typedef SkFlattenable INHERITED; 119 typedef SkFlattenable INHERITED;
118 }; 120 };
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 197
196 private: 198 private:
197 // illegal 199 // illegal
198 SkSumPathEffect(const SkSumPathEffect&); 200 SkSumPathEffect(const SkSumPathEffect&);
199 SkSumPathEffect& operator=(const SkSumPathEffect&); 201 SkSumPathEffect& operator=(const SkSumPathEffect&);
200 202
201 typedef SkPairPathEffect INHERITED; 203 typedef SkPairPathEffect INHERITED;
202 }; 204 };
203 205
204 #endif 206 #endif
OLDNEW
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/core/SkPixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698