8 #ifndef SkPathEffect_DEFINED
9 #define SkPathEffect_DEFINED
11 #include "SkFlattenable.h"
68 virtual void computeFastBounds(
SkRect* dst,
const SkRect& src)
const;
81 fSize.set(SK_Scalar1, SK_Scalar1);
95 kCircles_PointFlag = 0x01,
96 kUsePath_PointFlag = 0x02,
97 kUseClip_PointFlag = 0x04,
117 const SkRect* cullR)
const;
135 DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {}
136 DashInfo(SkScalar* intervals, int32_t count, SkScalar phase)
137 : fIntervals(intervals), fCount(count), fPhase(phase) {}
148 SK_TO_STRING_PUREVIRT()
151 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
152 virtual bool exposedInAndroidJavaAPI()
const {
return false; }
156 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
Definition: SkPathEffect.h:134
The SkPath class encapsulates compound (multiple contour) geometric paths consisting of straight line...
Definition: SkPath.h:25
SkPathEffect is the base class for objects in the SkPaint that affect the geometry of a drawing primi...
Definition: SkPathEffect.h:27
DashType
If the PathEffect can be represented as a dash pattern, asADash will return kDash_DashType and None o...
Definition: SkPathEffect.h:129
Definition: SkStrokeRec.h:16
Definition: SkPoint.h:156
The SkMatrix class holds a 3x3 matrix for transforming coordinates.
Definition: SkMatrix.h:28
SkScalar fPhase
Offset into the dashed interval pattern.
Definition: SkPathEffect.h:142
SkFlattenable is the base class for objects that need to be flattened into a data stream for either t...
Definition: SkFlattenable.h:70
ignores the info parameter
Definition: SkPathEffect.h:130
int32_t fCount
Number of intervals in the dash. Should be even number.
Definition: SkPathEffect.h:141
SkScalar * fIntervals
Length of on/off intervals for dashed lines.
Definition: SkPathEffect.h:139
fills in all of the info parameter
Definition: SkPathEffect.h:131
PointData aggregates all the information needed to draw the point primitives returned by an 'asPoints...
Definition: SkPathEffect.h:75