| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 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 SkDrawDiscrete_DEFINED | 8 #ifndef SkDrawDiscrete_DEFINED |
| 9 #define SkDrawDiscrete_DEFINED | 9 #define SkDrawDiscrete_DEFINED |
| 10 | 10 |
| 11 #include "SkPaintPart.h" | 11 #include "SkPaintPart.h" |
| 12 | 12 |
| 13 class SkDiscrete : public SkDrawPathEffect { | 13 class SkDiscrete : public SkDrawPathEffect { |
| 14 DECLARE_MEMBER_INFO(Discrete); | 14 DECLARE_MEMBER_INFO(Discrete); |
| 15 SkDiscrete(); | 15 SkDiscrete(); |
| 16 SkPathEffect* getPathEffect() SK_OVERRIDE; | 16 SkPathEffect* getPathEffect() override; |
| 17 private: | 17 private: |
| 18 SkScalar deviation; | 18 SkScalar deviation; |
| 19 SkScalar segLength; | 19 SkScalar segLength; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 #endif //SkDrawDiscrete_DEFINED | 22 #endif //SkDrawDiscrete_DEFINED |
| OLD | NEW |