Searched refs:slope (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_fe_func_declaration.h | 34 double slope = 0.0; member 73 void SetSlope(double slope) in SetSlope() argument 76 attribute.slope = slope; in SetSlope() 134 return attribute.slope; in GetSlope()
|
/foundation/arkui/ui_lite/frameworks/dfx/ |
H A D | event_injector.cpp | 223 float slope = static_cast<float>(endPoint.y - startPoint.y) / (endPoint.x - startPoint.x); in SetDragEvent() local 224 int16_t constPara = startPoint.y - static_cast<int16_t>(slope * startPoint.x); in SetDragEvent() 231 dataArray[i].point.y = static_cast<int16_t>(slope * (dataArray[i].point.x)) + constPara; in SetDragEvent()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_chart.cpp | 562 uint16_t& slope, in Smooth() 567 slope = (current.x == start.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - start.x, current.y - start.y); in Smooth() 568 if (MATH_ABS(slope - preSlope) < SMOOTH_SLOPE_ANGLE) { in Smooth() 586 uint16_t slope; in GetDataBySmooth() local 594 if (!Smooth(i, start, end, current, data, slope, preSlope)) { in GetDataBySmooth() 622 uint16_t slope; 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 | 913 uint16_t& slope,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 333 float slope = tan(Deg2rad(RIGHT_ANGLE_F - angle)); in EndPointsFromAngle() local 334 float perpendicularSlope = -1 / slope; in EndPointsFromAngle() 351 float endX = b / (slope - perpendicularSlope); in EndPointsFromAngle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 306 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle() local 307 float perpendicularSlope = -1 / slope; in EndPointsFromAngle() 324 float endX = b / (slope - perpendicularSlope); in EndPointsFromAngle()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 406 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle() local 407 float perpendicularSlope = -1 / slope; in EndPointsFromAngle() 424 float endX = b / (slope - perpendicularSlope); in EndPointsFromAngle() 455 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle() local 456 float perpendicularSlope = -1 / slope; in EndPointsFromAngle() 473 float endX = b / (slope - perpendicularSlope); in EndPointsFromAngle()
|
Completed in 14 milliseconds