8 #ifndef SkCornerPathEffect_DEFINED
9 #define SkCornerPathEffect_DEFINED
11 #include "SkPathEffect.h"
30 SK_TO_STRING_OVERRIDE()
33 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
34 bool exposedInAndroidJavaAPI()
const override {
return true; }
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
Definition: SkStrokeRec.h:16
SkCornerPathEffect is a subclass of SkPathEffect that can turn sharp corners into various treatments ...
Definition: SkCornerPathEffect.h:18
virtual bool filterPath(SkPath *dst, const SkPath &src, SkStrokeRec *, const SkRect *cullR) const =0
Given a src path (input) and a stroke-rec (input and output), apply this effect to the src path...
Definition: SkWriteBuffer.h:27
virtual void flatten(SkWriteBuffer &) const
Override this if your subclass needs to record data that it will need to recreate itself from its Cre...
Definition: SkFlattenable.h:117
static sk_sp< SkPathEffect > Make(SkScalar radius)
radius must be > 0 to have an effect.
Definition: SkCornerPathEffect.h:23