Home | History | Annotate | Download | only in ops

Lines Matching refs:Cap

57     SkPaint::Cap cap = style.strokeRec().getCap();
58 if (SkPaint::kRound_Cap == cap) {
192 DashCap cap, const size_t vertexStride) {
195 if (kRound_DashCap == cap) {
211 SkASSERT(kNonRound_DashCap == cap && vertexStride == sizeof(DashLineVertex));
247 DashCap cap,
267 SkPaint::Cap cap, AAMode aaMode, bool fullDash,
270 new DashOp(std::move(paint), geometry, cap, aaMode, fullDash, stencilSettings));
325 DashOp(GrPaint&& paint, const LineData& geometry, SkPaint::Cap cap, AAMode aaMode,
332 , fCap(cap)
340 SkScalar xBloat = SkPaint::kButt_Cap == cap ? 0 : halfStrokeWidth;
376 SkPaint::Cap cap = this->cap();
377 bool isRoundCap = SkPaint::kRound_Cap == cap;
418 bool hasCap = SkPaint::kButt_Cap != cap;
507 // is handled as well). Thus if the on interval is zero then we need to draw a cap
510 // end (but not the start), and if so we don't draw the cap.
531 if (SkPaint::kSquare_Cap == cap) {
532 // add cap to on interval and remove from off interval
542 if (SkPaint::kRound_Cap == cap && this->aaMode() == AAMode::kCoverageWithMSAA) {
577 if (SkPaint::kRound_Cap == cap && 0 != args.fSrcStrokeWidth) {
716 if (this->cap() != that->cap()) {
738 SkPaint::Cap cap() const { return fCap; }
751 SkPaint::Cap fCap : 3;
769 SkPaint::Cap cap = style.strokeRec().getCap();
797 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) {
798 // add cap to on interveal and remove from off interval
810 return DashOp::Make(std::move(paint), lineData, cap, aaMode, fullDash, stencilSettings);
1247 DashCap cap,
1256 switch (cap) {
1292 // pick random cap
1293 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount));
1304 Intervals intervalType = SkPaint::kRound_Cap == cap ?
1317 SkScalar min = SkPaint::kRound_Cap == cap ? kIntervalMinCircles : kIntervalMin;
1334 p.setStrokeCap(cap);