• Home
  • Raw
  • Download

Lines Matching refs:stroke

29 inline static bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) {  in allowed_stroke()  argument
30 SkASSERT(stroke.getStyle() == SkStrokeRec::kStroke_Style || in allowed_stroke()
31 stroke.getStyle() == SkStrokeRec::kHairline_Style); in allowed_stroke()
33 if (!stroke.getWidth()) { in allowed_stroke()
37 if (stroke.getJoin() == SkPaint::kBevel_Join) { in allowed_stroke()
41 if (stroke.getJoin() == SkPaint::kMiter_Join) { in allowed_stroke()
42 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
114 const SkStrokeRec& stroke, in Make() argument
117 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
124 if (stroke.getStyle() == SkStrokeRec::kHairline_Style && aaType != GrAAType::kMSAA) { in Make()
129 stroke, aaType); in Make()
134 const SkStrokeRec& stroke, GrAAType aaType) in NonAAStrokeRectOp() argument
141 fStrokeWidth = stroke.getWidth(); in NonAAStrokeRectOp()
354 const SkStrokeRec& stroke) { in Make() argument
356 if (!allowed_stroke(stroke, GrAA::kYes, &isMiter)) { in Make()
360 stroke, isMiter); in Make()
364 const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, in AAStrokeRectOp() argument
372 &info.fDegenerate, viewMatrix, rect, stroke.getWidth(), isMiter); in AAStrokeRectOp()
753 const SkStrokeRec& stroke) { in Make() argument
759 return AAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, stroke); in Make()
761 return NonAAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, stroke, aaType); in Make()