Searched refs:FastAtan2 (Results 1 – 5 of 5) sorted by relevance
/foundation/graphic/graphic_utils_lite/test/ |
D | graphic_math_unit_test.cpp | 56 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/ |
D | graphic_math.cpp | 96 uint16_t FastAtan2(int16_t x, int16_t y) in FastAtan2() function
|
/foundation/arkui/ui_lite/frameworks/components/ |
D | ui_chart.cpp | 567 …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/ |
D | draw_arc.cpp | 118 uint16_t degree = FastAtan2(x, y); in CalculateTanDegree()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
D | graphic_math.h | 90 uint16_t FastAtan2(int16_t x, int16_t y);
|