Home
last modified time | relevance | path

Searched refs:linePoints (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp797 const ChartLine& linePoints, in DrawGradientColor()
808 int16_t y = enableReverse_ ? (linePoints.start.y + startY) : (startY - linePoints.start.y); in DrawGradientColor()
827 if (tmpY == linePoints.start.y) { in DrawGradientColor()
836 FindCrossPoints(linePoints, polyLine, cross); in DrawGradientColor()
911 ChartLine linePoints = {{0}}; in GradientColor() local
912 linePoints.start.x = limitPoints.start.x; in GradientColor()
913 linePoints.end.x = limitPoints.end.x; in GradientColor()
917 linePoints.start.y = enableReverse_ ? (y - endY) : (startY - y); in GradientColor()
918 linePoints in GradientColor()
794 DrawGradientColor(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, UIChartDataSerial* data, const ChartLine& linePoints, const ChartLine& limitPoints, int16_t startY) DrawGradientColor() argument
[all...]
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp133 std::vector<Point> linePoints; in TestLineTo() local
135 linePoints.emplace_back(Point(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetTop())); in TestLineTo()
137 linePoints.emplace_back(Point(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetBottom())); in TestLineTo()
139 linePoints.emplace_back(Point(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetTop())); in TestLineTo()
141 linePoints.emplace_back(Point(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetBottom())); in TestLineTo()
142 linePoints.emplace_back(Point(rect.GetLeft(), rect.GetTop() + rect.GetHeight() / 4.0f)); in TestLineTo()
143 linePoints.emplace_back(Point(rect.GetRight(), rect.GetTop() + rect.GetHeight() / 4.0f)); in TestLineTo()
144 linePoints.emplace_back(Point(rect.GetLeft(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo()
145 linePoints.emplace_back(Point(rect.GetRight(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo()
149 for (size_t i = 0; i < linePoints in TestLineTo()
[all...]
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_chart.h899 const ChartLine& linePoints,

Completed in 5 milliseconds