| 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 | |
| 10 #ifndef SkDrawDiscrete_DEFINED | 8 #ifndef SkDrawDiscrete_DEFINED |
| 11 #define SkDrawDiscrete_DEFINED | 9 #define SkDrawDiscrete_DEFINED |
| 12 | 10 |
| 13 #include "SkPaintParts.h" | 11 #include "SkPaintPart.h" |
| 14 | 12 |
| 15 class SkDiscrete : public SkDrawPathEffect { | 13 class SkDiscrete : public SkDrawPathEffect { |
| 16 DECLARE_MEMBER_INFO(Discrete); | 14 DECLARE_MEMBER_INFO(Discrete); |
| 17 SkDiscrete(); | 15 SkDiscrete(); |
| 18 virtual SkPathEffect* getPathEffect(); | 16 virtual SkPathEffect* getPathEffect(); |
| 19 private: | 17 private: |
| 20 SkScalar deviation; | 18 SkScalar deviation; |
| 21 SkScalar segLength; | 19 SkScalar segLength; |
| 22 }; | 20 }; |
| 23 | 21 |
| 24 #endif //SkDrawDiscrete_DEFINED | 22 #endif //SkDrawDiscrete_DEFINED |
| OLD | NEW |