Lines Matching refs:start

261     Point start;
262 GetPoint(startIndex, start);
266 int16_t xMin = MATH_MIN(start.x, end.x);
267 int16_t xMax = MATH_MAX(start.x, end.x);
558 Point& start,
566 if (((end.y - start.y <= 0) && (current.y - end.y <= 0)) || ((end.y - start.y >= 0) && (current.y - end.y >= 0))) {
567 slope = (current.x == start.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - start.x, current.y - start.y);
583 Point start;
587 data->GetPoint(startIndex, start);
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;
616 Point start;
623 data->GetPoint(startIndex, start);
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;
642 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
651 start = end;
654 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, style_->lineWidth_, color, OPA_OPAQUE);
671 Point start;
684 data->GetPoint(i, start);
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);
701 data->GetPoint(endIndex - 1, start);
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) {
808 int16_t y = enableReverse_ ? (linePoints.start.y + startY) : (startY - linePoints.start.y);
813 bool onVerticalLine = enableReverse_ ? (y <= limitPoints.start.y) : (y >= limitPoints.start.y);
815 cross.first.x = limitPoints.start.x;
819 Point start;
823 data->GetPoint(i, start);
825 if (start.y == end.y) {
826 int16_t tmpY = enableReverse_ ? (start.y + startY) : (startY - start.y);
827 if (tmpY == linePoints.start.y) {
833 start.y = enableReverse_ ? (start.y - startY) : (startY - start.y);
835 polyLine = {start, end};
867 int16_t start,
872 if ((top < start) && (bottom > start)) {
873 y = start;
875 } else if ((bottom <= start) && (top >= end)) {
909 data->GetPoint(0, limitPoints.start);
912 linePoints.start.x = limitPoints.start.x;
917 linePoints.start.y = enableReverse_ ? (y - endY) : (startY - y);
918 linePoints.end.y = linePoints.start.y;
923 int16_t mixScale = enableReverse_ ? (linePoints.start.y + endY - currentRect.GetTop()) :
924 (currentRect.GetBottom() - (startY - linePoints.start.y));
929 Point start = {limitPoints.start.x, y};
931 baseGfxEngine->DrawLine(gfxDstBuffer, start, end, invalidatedArea, 1, data->GetFillColor(),