Lines Matching refs:SkStrokeRec
12 #include "include/core/SkStrokeRec.h"
31 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle);
40 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle);
72 * for just dash application followed by the key for the remaining SkStrokeRec is the same as
73 * the key for applying dashing and SkStrokeRec all at once.
77 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {}
79 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {}
81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) {
103 void resetToInitStyle(SkStrokeRec::InitStyle fillOrHairline) {
106 if (SkStrokeRec::kFill_InitStyle == fillOrHairline) {
140 const SkStrokeRec& strokeRec() const { return fStrokeRec; }
159 bool SK_WARN_UNUSED_RESULT applyPathEffectToPath(SkPath* dst, SkStrokeRec* remainingStoke,
164 * returned SkStrokeRec::InitStyle value. Will fail if there is no path effect and the
169 bool SK_WARN_UNUSED_RESULT applyToPath(SkPath* dst, SkStrokeRec::InitStyle* fillOrHairline,
181 // This may not be the correct SkStrokeRec to use if there's a path effect: skbug.com/5299
210 bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
212 SkStrokeRec fStrokeRec;