Flutter Engine
The Flutter Engine
|
#include <SkDashImpl.h>
Public Member Functions | |
SkDashImpl (const SkScalar intervals[], int count, SkScalar phase) | |
Public Member Functions inherited from SkPathEffectBase | |
SkPathEffectBase () | |
bool | asPoints (PointData *results, const SkPath &src, const SkStrokeRec &, const SkMatrix &, const SkRect *cullR) const |
SkFlattenable::Type | getFlattenableType () const override |
virtual bool | onFilterPath (SkPath *, const SkPath &, SkStrokeRec *, const SkRect *, const SkMatrix &) const =0 |
virtual bool | onNeedsCTM () const |
virtual bool | onAsPoints (PointData *, const SkPath &, const SkStrokeRec &, const SkMatrix &, const SkRect *) const |
virtual DashType | onAsADash (DashInfo *) const |
virtual bool | computeFastBounds (SkRect *bounds) const =0 |
Public Member Functions inherited from SkPathEffect | |
DashType | asADash (DashInfo *info) const |
bool | filterPath (SkPath *dst, const SkPath &src, SkStrokeRec *, const SkRect *cullR) const |
bool | filterPath (SkPath *dst, const SkPath &src, SkStrokeRec *, const SkRect *cullR, const SkMatrix &ctm) const |
bool | needsCTM () const |
Public Member Functions inherited from SkFlattenable | |
SkFlattenable () | |
virtual Factory | getFactory () const =0 |
virtual const char * | getTypeName () const =0 |
virtual void | flatten (SkWriteBuffer &) const |
virtual Type | getFlattenableType () const =0 |
sk_sp< SkData > | serialize (const SkSerialProcs *=nullptr) const |
size_t | serialize (void *memory, size_t memory_size, const SkSerialProcs *=nullptr) const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
~SkDashImpl () override | |
void | flatten (SkWriteBuffer &) const override |
bool | onFilterPath (SkPath *dst, const SkPath &src, SkStrokeRec *, const SkRect *, const SkMatrix &) const override |
bool | onAsPoints (PointData *results, const SkPath &src, const SkStrokeRec &, const SkMatrix &, const SkRect *) const override |
DashType | onAsADash (DashInfo *info) const override |
Definition at line 13 of file SkDashImpl.h.
Definition at line 34 of file SkDashPathEffect.cpp.
|
overrideprotected |
Definition at line 53 of file SkDashPathEffect.cpp.
|
overrideprotectedvirtual |
Override this if your subclass needs to record data that it will need to recreate itself from its CreateProc (returned by getFactory()).
DEPRECATED public : will move to protected ... use serialize() instead
Reimplemented from SkFlattenable.
Definition at line 386 of file SkDashPathEffect.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkPathEffectBase.
Definition at line 375 of file SkDashPathEffect.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkPathEffectBase.
Definition at line 182 of file SkDashPathEffect.cpp.
|
overrideprotectedvirtual |
Filter the input path.
The CTM parameter is provided for path effects that can use the information. The output of path effects must always be in the original (input) coordinate system, regardless of whether the path effect uses the CTM or not.
Implements SkPathEffectBase.
Definition at line 57 of file SkDashPathEffect.cpp.