Home
last modified time | relevance | path

Searched refs:FastAtan2 (Results 1 – 5 of 5) sorted by relevance

/foundation/graphic/graphic_utils_lite/test/
Dgraphic_math_unit_test.cpp56 EXPECT_EQ(FastAtan2(0, 1), 0);
57 EXPECT_EQ(FastAtan2(1, 0), QUARTER_IN_DEGREE);
58 EXPECT_EQ(FastAtan2(0, -1), SEMICIRCLE_IN_DEGREE);
59 EXPECT_EQ(FastAtan2(-1, 0), THREE_QUARTER_IN_DEGREE);
/foundation/graphic/graphic_utils_lite/frameworks/
Dgraphic_math.cpp96 uint16_t FastAtan2(int16_t x, int16_t y) in FastAtan2() function
/foundation/arkui/ui_lite/frameworks/components/
Dui_chart.cpp567 …slope = (current.x == start.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - start.x, current.y - st… in Smooth()
573 …preSlope = (current.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - end.x, current.y - end… in Smooth()
591 …uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - st… in GetDataBySmooth()
625 …uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - st… in DrawSmoothPolyLine()
/foundation/arkui/ui_lite/frameworks/draw/
Ddraw_arc.cpp118 uint16_t degree = FastAtan2(x, y); in CalculateTanDegree()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
Dgraphic_math.h90 uint16_t FastAtan2(int16_t x, int16_t y);