michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkDrawDiscrete_DEFINED michael@0: #define SkDrawDiscrete_DEFINED michael@0: michael@0: #include "SkPaintParts.h" michael@0: michael@0: class SkDiscrete : public SkDrawPathEffect { michael@0: DECLARE_MEMBER_INFO(Discrete); michael@0: SkDiscrete(); michael@0: virtual SkPathEffect* getPathEffect(); michael@0: private: michael@0: SkScalar deviation; michael@0: SkScalar segLength; michael@0: }; michael@0: michael@0: #endif //SkDrawDiscrete_DEFINED