Home | History | Annotate | Download | only in ops

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,
278 DashOp(GrPaint&& paint, const LineData& geometry, SkPaint::Cap cap, AAMode aaMode,
283 , fCap(cap)
291 SkScalar xBloat = SkPaint::kButt_Cap == cap ? 0 : halfStrokeWidth;
327 SkPaint::Cap cap = this->cap();
328 bool isRoundCap = SkPaint::kRound_Cap == cap;
372 bool hasCap = SkPaint::kButt_Cap != cap;
461 // is handled as well). Thus if the on interval is zero then we need to draw a cap
464 // end (but not the start), and if so we don't draw the cap.
485 if (SkPaint::kSquare_Cap == cap) {
486 // add cap to on interval and remove from off interval
496 if (SkPaint::kRound_Cap == cap && this->aaMode() == AAMode::kCoverageWithMSAA) {
531 if (SkPaint::kRound_Cap == cap && 0 != args.fSrcStrokeWidth) {
649 if (this->cap() != that->cap()) {
670 SkPaint::Cap cap() const { return fCap; }
680 SkPaint::Cap fCap : 3;
699 SkPaint::Cap cap = style.strokeRec().getCap();
731 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) {
732 // add cap to on interveal and remove from off interval
744 return DashOp::Make(context, std::move(paint), lineData, cap, aaMode, fullDash,
1181 DashCap cap,
1190 switch (cap) {
1226 // pick random cap
1227 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount));
1238 Intervals intervalType = SkPaint::kRound_Cap == cap ?
1251 SkScalar min = SkPaint::kRound_Cap == cap ? kIntervalMinCircles : kIntervalMin;
1268 p.setStrokeCap(cap);