OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #include "SkCornerPathEffect.h" | 9 #include "SkCornerPathEffect.h" |
11 #include "SkPath.h" | 10 #include "SkPath.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 buffer.writeScalar(fRadius); | 146 buffer.writeScalar(fRadius); |
148 } | 147 } |
149 | 148 |
150 #ifndef SK_IGNORE_TO_STRING | 149 #ifndef SK_IGNORE_TO_STRING |
151 void SkCornerPathEffect::toString(SkString* str) const { | 150 void SkCornerPathEffect::toString(SkString* str) const { |
152 str->appendf("SkCornerPathEffect: ("); | 151 str->appendf("SkCornerPathEffect: ("); |
153 str->appendf("radius: %.2f", fRadius); | 152 str->appendf("radius: %.2f", fRadius); |
154 str->appendf(")"); | 153 str->appendf(")"); |
155 } | 154 } |
156 #endif | 155 #endif |
OLD | NEW |