blob: ea44199f1e38c1a368958c77c976641dc99fcc6f [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001/*
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
reed@android.com8a1c16f2008-12-17 15:59:43 +00008#ifndef SkDrawDiscrete_DEFINED
9#define SkDrawDiscrete_DEFINED
10
reed@google.com8d4dc712014-04-18 15:14:25 +000011#include "SkPaintPart.h"
reed@android.com8a1c16f2008-12-17 15:59:43 +000012
13class SkDiscrete : public SkDrawPathEffect {
14 DECLARE_MEMBER_INFO(Discrete);
15 SkDiscrete();
mtklein72c9faa2015-01-09 10:06:39 -080016 SkPathEffect* getPathEffect() SK_OVERRIDE;
reed@android.com8a1c16f2008-12-17 15:59:43 +000017private:
18 SkScalar deviation;
19 SkScalar segLength;
20};
21
22#endif //SkDrawDiscrete_DEFINED