Home | History | Annotate | Download | only in hwui

Lines Matching refs:Cap

102             style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
124 SkPaint::Cap cap;
150 * Returns the number of cap divisions beyond the minimum 2 (kButt_Cap/kSquareCap will return 0)
154 if (cap == SkPaint::kRound_Cap) {
250 if (paintInfo.cap == SkPaint::kSquare_Cap) {
401 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
424 if (paintInfo.cap != SkPaint::kRound_Cap) {
425 // if the cap is square or butt, the inside primary cap vertices will be inset in two
430 // determine referencePoint, the center point for the 4 primary cap vertices
433 if (paintInfo.cap == SkPaint::kSquare_Cap) {
434 cap, move the primary cap vertices (that create the AA edge) by the
449 bool isRound = paintInfo.cap == SkPaint::kRound_Cap;
491 capPerimIndex = 2; // start writing the rest of the round cap at index 2
530 b) 2, 2 * roundDivOff | First half of begin cap's perimeter
534 a) 4 | End cap's
539 a) 6 | Begin cap's perimeter
540 b) 2, 2*(rD - rDO + 1), | Last half of begin cap's perimeter
546 b) 2, roundDivs | (and end cap fill, for round)
549 * rows starting with 'a)' denote the Butt or Square cap vertex use, 'b)' denote Round
554 round cap's shape, and is at least two. This will increase with cap size to sufficiently
555 define the cap's level of tessellation.
557 * 'roundDivOffset' or 'rDO' is the point about halfway along the start cap's round perimeter, where
596 // TODO: use normal from bezier traversal for cap, instead of from vertices
643 // TODO: use normal from bezier traversal for cap, instead of from vertices
817 if (paintInfo.cap == SkPaint::kRound_Cap) {