Lines Matching refs:end
263 Point end;
265 GetPoint(endIndex, end);
266 int16_t xMin = MATH_MIN(start.x, end.x);
267 int16_t xMax = MATH_MAX(start.x, end.x);
559 Point& end,
566 if (((end.y - start.y <= 0) && (current.y - end.y <= 0)) || ((end.y - start.y >= 0) && (current.y - end.y >= 0))) {
569 end = current;
573 preSlope = (current.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - end.x, current.y - end.y);
584 Point end;
590 data->GetPoint(startIndex + 1, end);
591 uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - start.y);
594 if (!Smooth(i, start, end, current, data, slope, preSlope)) {
598 start = end;
599 end = current;
617 Point end;
624 data->GetPoint(startIndex + 1, end);
625 uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - start.y);
629 if (!Smooth(i, start, end, current, data, slope, preSlope)) {
633 rect.SetLeft(MATH_MIN(start.x, end.x) - style_->lineWidth_);
634 rect.SetRight(MATH_MAX(start.x, end.x) + style_->lineWidth_);
635 rect.SetTop(MATH_MIN(start.y, end.y) - style_->lineWidth_);
636 rect.SetBottom(MATH_MAX(start.y, end.y) + style_->lineWidth_);
638 start = end;
639 end = current;
642 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
644 arcinfo.center = end;
651 start = end;
652 end = current;
654 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
672 Point end;
685 data->GetPoint(i + 1, end);
687 rect.SetLeft(MATH_MIN(start.x, end.x) - style_->lineWidth_);
688 rect.SetRight(MATH_MAX(start.x, end.x) + style_->lineWidth_);
689 rect.SetTop(MATH_MIN(start.y, end.y) - style_->lineWidth_);
690 rect.SetBottom(MATH_MAX(start.y, end.y) + style_->lineWidth_);
695 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
697 arcinfo.center = end;
702 data->GetPoint(endIndex, end);
703 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
754 if (GetLineCrossPoint(line.start, line.end, polyLine.start, polyLine.end, cross.nextFirst)) {
755 if (enableReverse_ && (MATH_MIN(line.start.y, line.end.y) >= MATH_MAX(polyLine.start.y, polyLine.end.y))) {
757 if (polyLine.start.y < polyLine.end.y) {
767 if (polyLine.start.y > polyLine.end.y) {
775 if (polyLine.start.y < polyLine.end.y) {
787 if (polyLine.start.y > polyLine.end.y) {
820 Point end;
824 data->GetPoint(i + 1, end);
825 if (start.y == end.y) {
834 end.y = enableReverse_ ? (end.y - startY) : (startY - end.y);
835 polyLine = {start, end};
840 cross.second = {limitPoints.end.x, y};
868 int16_t end,
875 } else if ((bottom <= start) && (top >= end)) {
878 } else if ((top < end) && (bottom > end)) {
880 yHeight = end;
910 data->GetPoint(data->GetDataCount() - 1, limitPoints.end);
913 linePoints.end.x = limitPoints.end.x;
918 linePoints.end.y = linePoints.start.y;
930 Point end = {limitPoints.end.x, y};
931 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, 1, data->GetFillColor(),