blob: fa020c2a6b2c74c7a3283ea1f7b974b70319e988 [file] [log] [blame]
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkDrawDash_DEFINED
#define SkDrawDash_DEFINED
#include "SkPaintPart.h"
#include "SkIntArray.h"
class SkDash : public SkDrawPathEffect {
DECLARE_MEMBER_INFO(Dash);
SkDash();
virtual ~SkDash();
SkPathEffect* getPathEffect() SK_OVERRIDE;
private:
SkTDScalarArray intervals;
SkScalar phase;
};
#endif // SkDrawDash_DEFINED