diff --git a/frameworks/common/typed_text.cpp b/frameworks/common/typed_text.cpp index bc9d48ecde104e4c61a36bab8c364431eb12a2d3..c005e22ed477b35c20752637344fb39e6e9e001b 100755 --- a/frameworks/common/typed_text.cpp +++ b/frameworks/common/typed_text.cpp @@ -137,8 +137,8 @@ float TypedText::GetAngleForArcLen(float len, void TypedText::GetArcLetterPos(const Point& arcCenter, uint16_t radius, float angle, float& posX, float& posY) { - posX = arcCenter.x + (static_cast(radius) * Sin(MATH_ROUND(angle))); - posY = arcCenter.y - (static_cast(radius) * Sin(MATH_ROUND(angle + QUARTER_IN_DEGREE))); + posX = arcCenter.x + (static_cast(radius) * Sin(angle)); + posY = arcCenter.y - (static_cast(radius) * Sin(angle + QUARTER_IN_DEGREE)); } uint32_t TypedText::GetNextLine(const char* text, int16_t letterSpace, int16_t maxWidth)