Lines Matching refs:strokeRec
26 if (style.strokeRec().needToApply()) { in KeySize()
63 if (Apply::kPathEffectAndStrokeRec == apply && style.strokeRec().needToApply()) { in WriteKey()
80 cap = style.strokeRec().getCap(); in WriteKey()
87 join = style.strokeRec().getJoin(); in WriteKey()
90 miter = style.strokeRec().getMiter(); in WriteKey()
94 key[i++] = style.strokeRec().getStyle() | in WriteKey()
100 SkScalar width = style.strokeRec().getWidth(); in WriteKey()
129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() argument
145 if (!SkDashPath::InternalFilter(dst, src, strokeRec, in applyPathEffect()
151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
161 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() local
162 strokeRec.setResScale(resScale); in applyPathEffectToPath()
163 if (!this->applyPathEffect(dst, &strokeRec, src)) { in applyPathEffectToPath()
166 *remainingStroke = strokeRec; in applyPathEffectToPath()
174 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() local
175 strokeRec.setResScale(resScale); in applyToPath()
177 if (this->applyPathEffect(dst, &strokeRec, src)) { in applyToPath()
182 if (strokeRec.needToApply()) { in applyToPath()
183 if (!strokeRec.applyToPath(dst, *pathForStrokeRec)) { in applyToPath()
192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath()
193 SkStrokeRec::kHairline_Style == strokeRec.getStyle()); in applyToPath()
194 *style = strokeRec.getStyle() == SkStrokeRec::kFill_Style in applyToPath()