• Home
  • Raw
  • Download

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
150 if (!SkDashPath::InternalFilter(dst, src, strokeRec, in applyPathEffect()
156 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
166 SkStrokeRec strokeRec = fStrokeRec; in applyPathEffectToPath() local
167 strokeRec.setResScale(resScale); in applyPathEffectToPath()
168 if (!this->applyPathEffect(dst, &strokeRec, src)) { in applyPathEffectToPath()
171 *remainingStroke = strokeRec; in applyPathEffectToPath()
179 SkStrokeRec strokeRec = fStrokeRec; in applyToPath() local
180 strokeRec.setResScale(resScale); in applyToPath()
182 if (this->applyPathEffect(dst, &strokeRec, src)) { in applyToPath()
187 if (strokeRec.needToApply()) { in applyToPath()
188 if (!strokeRec.applyToPath(dst, *pathForStrokeRec)) { in applyToPath()
197 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath()
198 SkStrokeRec::kHairline_Style == strokeRec.getStyle()); in applyToPath()
199 *style = strokeRec.getStyle() == SkStrokeRec::kFill_Style in applyToPath()