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 SkDrawDash_DEFINED michael@0: #define SkDrawDash_DEFINED michael@0: michael@0: #include "SkPaintParts.h" michael@0: #include "SkIntArray.h" michael@0: michael@0: class SkDash : public SkDrawPathEffect { michael@0: DECLARE_MEMBER_INFO(Dash); michael@0: SkDash(); michael@0: virtual ~SkDash(); michael@0: virtual SkPathEffect* getPathEffect(); michael@0: private: michael@0: SkTDScalarArray intervals; michael@0: SkScalar phase; michael@0: }; michael@0: michael@0: #endif // SkDrawDash_DEFINED