Lines Matching refs:start
100 void DrawArc::GetDrawRange(int16_t& start, int16_t& end)
102 int16_t tempAngle = GetDrawAngle(start);
103 if (start == end) {
104 start = tempAngle;
106 } else if (end - start >= CIRCLE_IN_DEGREE) {
108 start = 0;
111 start = tempAngle;
241 int16_t start,
251 Point {static_cast<int16_t>(arcInfo.center.x + start), static_cast<int16_t>(arcInfo.center.y + y)},
252 arcInfo.imgPos, mask, end - start, style, opaScale, arcInfo.imgSrc);
255 uint16_t degreeStart = GetDegreeInQuadrant(CalculateTanDegree(MATH_ABS(start), MATH_ABS(y)), quadrant);
270 Point { static_cast<int16_t>(arcInfo.center.x + start), static_cast<int16_t>(arcInfo.center.y + y) },
271 arcInfo.imgPos, mask, end - start, style, opaScale, arcInfo.imgSrc);
274 DrawLineWithDegreeInner(gfxDstBuffer, arcInfo, start, end, y, mask, style, opaScale, quadrant);
277 drawEnd = DrawLineWithDegreeInner(gfxDstBuffer, arcInfo, start, end, y, mask, style, opaScale, quadrant);
287 int16_t start,
297 for (int16_t xi = start; xi <= end; xi++) {
484 int16_t DrawArc::GetDegreeRangeIntersectState(uint16_t degreeStart, uint16_t degreeEnd, uint16_t start, uint16_t end)
486 if (start <= end) {
487 if ((degreeStart >= start) && (degreeStart <= end) && (degreeEnd >= start) && (degreeEnd <= end)) {
489 } else if ((degreeEnd < start) || (degreeStart > end)) {
495 if (((degreeStart >= start) && (degreeEnd >= start)) || ((degreeStart <= end) && (degreeEnd <= end))) {
497 } else if ((degreeStart > end) && (degreeEnd < start)) {
499 } else if ((degreeStart <= end) && (degreeEnd >= start)) {