Lines Matching defs:rec
23 bool SkOpPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec,
27 if (!fOne->filterPath(&one, src, rec, cull, ctm)) {
34 if (!fTwo->filterPath(&two, src, rec, cull, ctm)) {
145 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle);
146 rec.setStrokeStyle(fWidth);
147 rec.setStrokeParams(fCap, fJoin, fMiter);
148 return rec.applyToPath(dst, src);
153 SkStrokeRec rec(SkStrokeRec::kFill_InitStyle);
154 rec.setStrokeStyle(fWidth);
155 rec.setStrokeParams(fCap, fJoin, fMiter);
156 bounds->outset(rec.getInflationRadius(), rec.getInflationRadius());
199 bool SkStrokeAndFillPE::onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec,
203 if (rec->getStyle() == SkStrokeRec::kStrokeAndFill_Style) {
208 if (rec->getStyle() == SkStrokeRec::kStroke_Style) {
209 if (!rec->applyToPath(dst, src)) {
221 rec->setFillStyle();