Searched refs:preSlope (Results 1 - 2 of 2) sorted by relevance
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_chart.cpp | 563 uint16_t& preSlope) in Smooth() 568 if (MATH_ABS(slope - preSlope) < SMOOTH_SLOPE_ANGLE) { in Smooth() 573 preSlope = (current.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - end.x, current.y - end.y); in Smooth() 591 uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - start.y); in GetDataBySmooth() local 594 if (!Smooth(i, start, end, current, data, slope, preSlope)) { in GetDataBySmooth() 625 uint16_t preSlope = (start.x == end.x) ? QUARTER_IN_DEGREE : FastAtan2(end.x - start.x, end.y - start.y); in DrawSmoothPolyLine() local 629 if (!Smooth(i, start, end, current, data, slope, preSlope)) { in DrawSmoothPolyLine() 557 Smooth(uint16_t startPos, Point& start, Point& end, Point& current, UIChartDataSerial* data, uint16_t& slope, uint16_t& preSlope) Smooth() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_chart.h | 914 uint16_t& preSlope);
|
Completed in 3 milliseconds