1 /*
2  * Copyright 2006 The Android Open Source Project
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkDrawDiscrete_DEFINED
9 #define SkDrawDiscrete_DEFINED
10 
11 #include "SkPaintPart.h"
12 
13 class SkDiscrete : public SkDrawPathEffect {
14     DECLARE_MEMBER_INFO(Discrete);
15     SkDiscrete();
16     SkPathEffect* getPathEffect() override;
17 private:
18     SkScalar deviation;
19     SkScalar segLength;
20 };
21 
22 #endif //SkDrawDiscrete_DEFINED
23