| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkArcToPathEffect_DEFINED | 8 #ifndef SkArcToPathEffect_DEFINED |
| 9 #define SkArcToPathEffect_DEFINED | 9 #define SkArcToPathEffect_DEFINED |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 } | 21 } |
| 22 return SkNEW_ARGS(SkArcToPathEffect, (radius)); | 22 return SkNEW_ARGS(SkArcToPathEffect, (radius)); |
| 23 } | 23 } |
| 24 | 24 |
| 25 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*)
const SK_OVERRIDE; | 25 bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*)
const SK_OVERRIDE; |
| 26 | 26 |
| 27 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkArcToPathEffect) | 27 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkArcToPathEffect) |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 explicit SkArcToPathEffect(SkScalar radius); | 30 explicit SkArcToPathEffect(SkScalar radius); |
| 31 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; | 31 void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 SkScalar fRadius; | 34 SkScalar fRadius; |
| 35 | 35 |
| 36 typedef SkPathEffect INHERITED; | 36 typedef SkPathEffect INHERITED; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif | 39 #endif |
| OLD | NEW |