Description: Modification of Arc-shaped Text Layout Algorithm

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I71DPY
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: youbing54<youbing3@huawei.com>
This commit is contained in:
youbing
2023-05-08 19:33:05 +08:00
parent 2b6c1334eb
commit a0f4e74553
+1
View File
@@ -81,6 +81,7 @@ static constexpr float ATAN2_P7 = -0.0443360;
static constexpr float RADIAN_TO_ANGLE = 57.295779513;
static constexpr float UI_FLT_EPSILON = 1E-5;
static constexpr int16_t ORDER_MATRIX_4 = 4;
static constexpr float EPSINON = 0.000001;
float Sin(float angle);
float Cos(float angle);