Home
last modified time | relevance | path

Searched refs:slope (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_fe_func_declaration.h34 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 Devent_injector.cpp223 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 Dui_chart.cpp562 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 Dui_chart.h913 uint16_t& slope,
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp333 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 Ddrawing_decoration_painter.cpp306 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 Drosen_decoration_painter.cpp406 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