From a0f4e74553ea4d67da2888c7a6e1620a51e8ba68 Mon Sep 17 00:00:00 2001 From: youbing Date: Mon, 8 May 2023 19:33:05 +0800 Subject: [PATCH] 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 --- interfaces/kits/gfx_utils/graphic_math.h | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/kits/gfx_utils/graphic_math.h b/interfaces/kits/gfx_utils/graphic_math.h index a4e9fea..c9fd013 100644 --- a/interfaces/kits/gfx_utils/graphic_math.h +++ b/interfaces/kits/gfx_utils/graphic_math.h @@ -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);