Lines Matching refs:startAngle
117 void UICanvas::ArcTo(const Point& center, uint16_t radius, int16_t startAngle, int16_t endAngle) in ArcTo() argument
120 if (vertices_ == nullptr || startAngle == endAngle) { in ArcTo()
123 float sinma = radius * Sin(startAngle); in ArcTo()
124 float cosma = radius * Sin(QUARTER_IN_DEGREE - startAngle); in ArcTo()
130 if (MATH_ABS(startAngle - endAngle) < CIRCLE_IN_DEGREE) { in ArcTo()
134 int16_t angle = endAngle - startAngle; in ArcTo()
149 float sinma = radius * Sin(startAngle); in ArcTo()
150 float cosma = radius * Sin(QUARTER_IN_DEGREE - startAngle); in ArcTo()
159 if (MATH_ABS(startAngle - endAngle) < CIRCLE_IN_DEGREE) { in ArcTo()
166 SetArcParamInfo(center, radius, startAngle, endAngle); in ArcTo()
170 void UICanvas::SetArcParamInfo(const Point& center, uint16_t radius, int16_t startAngle, int16_t en… in SetArcParamInfo() argument
174 if (startAngle > endAngle) { in SetArcParamInfo()
176 end = startAngle; in SetArcParamInfo()
178 start = startAngle; in SetArcParamInfo()
186 param.startAngle = start; in SetArcParamInfo()
575 int16_t startAngle, in DrawSector() argument
582 ArcTo(center, radius, startAngle, endAngle); in DrawSector()
597 DrawArc(center, radius, startAngle, endAngle, innerPaint); in DrawSector()
602 void UICanvas::DrawArc(const Point& center, uint16_t radius, int16_t startAngle, in DrawArc() argument
608 ArcTo(center, radius, startAngle, endAngle); in DrawArc()
623 if (startAngle > endAngle) { in DrawArc()
625 end = startAngle; in DrawArc()
627 start = startAngle; in DrawArc()
632 arcParam->startAngle = start; in DrawArc()
1192 arcInfo.startAngle = 0; in DoDrawCircle()
1229 arcInfo.startAngle = arcParam->startAngle; in DoDrawArc()
1297 arcinfo.startAngle = 0; in DoDrawLineJoin()
1358 arcInfo.startAngle = arcIter->data_.startAngle; in DoDrawPath()