| 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 "SkDiscretePathEffect.h" | 9 #include "SkDiscretePathEffect.h" |
| 11 #include "SkReadBuffer.h" | 10 #include "SkReadBuffer.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 buffer.writeUInt(fSeedAssist); | 134 buffer.writeUInt(fSeedAssist); |
| 136 } | 135 } |
| 137 | 136 |
| 138 #ifndef SK_IGNORE_TO_STRING | 137 #ifndef SK_IGNORE_TO_STRING |
| 139 void SkDiscretePathEffect::toString(SkString* str) const { | 138 void SkDiscretePathEffect::toString(SkString* str) const { |
| 140 str->appendf("SkDiscretePathEffect: ("); | 139 str->appendf("SkDiscretePathEffect: ("); |
| 141 str->appendf("segLength: %.2f deviation: %.2f seed %d", fSegLength, fPerterb
, fSeedAssist); | 140 str->appendf("segLength: %.2f deviation: %.2f seed %d", fSegLength, fPerterb
, fSeedAssist); |
| 142 str->append(")"); | 141 str->append(")"); |
| 143 } | 142 } |
| 144 #endif | 143 #endif |
| OLD | NEW |