8#ifndef SkPathEffect_DEFINED
9#define SkPathEffect_DEFINED
66 DashInfo() : fIntervals(nullptr), fCount(0), fPhase(0) {}
68 : fIntervals(intervals), fCount(
count), fPhase(phase) {}
101 bool needsCTM()
const;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static sk_sp< SkFlattenable > Deserialize(Type, const void *data, size_t length, const SkDeserialProcs *procs=nullptr)
@ kNone_DashType
ignores the info parameter
@ kDash_DashType
fills in all of the info parameter
static SkFlattenable::Type GetFlattenableType()
SkScalar fPhase
Offset into the dashed interval pattern.
int32_t fCount
Number of intervals in the dash. Should be even number.
SkScalar * fIntervals
Length of on/off intervals for dashed lines.
DashInfo(SkScalar *intervals, int32_t count, SkScalar phase)