Lines Matching refs:Cap
61 SkPaint::Cap cap = style.strokeRec().getCap();
62 if (SkPaint::kRound_Cap == cap) {
156 SkScalar strokeWidth, DashCap cap) {
161 if (kRound_DashCap == cap) {
171 SkASSERT(kNonRound_DashCap == cap);
193 DashCap cap,
215 SkPaint::Cap cap,
220 return pool->allocate<DashOp>(std::move(paint), geometry, cap,
275 DashOp(GrPaint&& paint, const LineData& geometry, SkPaint::Cap cap, AAMode aaMode,
280 , fCap(cap)
288 SkScalar xBloat = SkPaint::kButt_Cap == cap ? 0 : halfStrokeWidth;
324 SkPaint::Cap cap = this->cap();
325 bool isRoundCap = SkPaint::kRound_Cap == cap;
369 bool hasCap = SkPaint::kButt_Cap != cap;
458 // is handled as well). Thus if the on interval is zero then we need to draw a cap
461 // end (but not the start), and if so we don't draw the cap.
482 if (SkPaint::kSquare_Cap == cap) {
483 // add cap to on interval and remove from off interval
493 if (SkPaint::kRound_Cap == cap && this->aaMode() == AAMode::kCoverageWithMSAA) {
528 if (SkPaint::kRound_Cap == cap && 0 != args.fSrcStrokeWidth) {
643 if (this->cap() != that->cap()) {
664 SkPaint::Cap cap() const { return fCap; }
674 SkPaint::Cap fCap : 3;
693 SkPaint::Cap cap = style.strokeRec().getCap();
725 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) {
726 // add cap to on interveal and remove from off interval
738 return DashOp::Make(context, std::move(paint), lineData, cap, aaMode, fullDash,
1167 DashCap cap,
1176 switch (cap) {
1212 // pick random cap
1213 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount));
1224 Intervals intervalType = SkPaint::kRound_Cap == cap ?
1237 SkScalar min = SkPaint::kRound_Cap == cap ? kIntervalMinCircles : kIntervalMin;
1254 p.setStrokeCap(cap);