Home | History | Annotate | Download | only in core

Lines Matching defs:last

402   *These last two conditions we relax if we have a 3-edge path that would
416 first,last,next direction state-machine:
430 SkPoint first, last;
434 last.set(0, 0);
451 SkScalar left = last.fX;
452 SkScalar top = last.fY;
465 first = last;
466 last = pts[-1];
483 last = pts[-1];
507 last = *pts++;
519 // Success if 4 corners and first point equals last
520 bool result = 4 == corners && (first == last || autoClose);
526 // 4 sided but the last edge is not long enough to reach the start
528 SkScalar closeX = first.x() - last.x();
529 SkScalar closeY = first.y() - last.y();
581 const SkPoint* last = pts;
585 testRects[0].set(first, SkToS32(last - first));
589 testRects[1].set(last, SkToS32(pts - last));
1493 injectMoveToIfNeeded(); // In case last contour is closed
1542 // ignore the last point of the 1st contour
1595 const uint8_t* verbs = src.fPathRef->verbsMemBegin(); // points at the last verb
1839 // Set the first return pt to the last pt of the previous primitive.
3209 int last = tangents.count() - 1;
3210 const SkVector& tangent = tangents[last];
3212 tangents.remove(last);
3214 for (int index = 0; index < last; ++index) {
3219 tangents.remove(last);