/foundation/arkui/ui_lite/test/uitest/test_canvas/ |
D | ui_test_canvas.cpp | 454 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath002() 511 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath006() 556 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath009() 557 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath009() 573 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath010() 574 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath010() 575 canvas->LineTo({START1_X, START1_Y}); in UIKitCanvasTestDrawPath010() 591 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath011() 593 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath011() 608 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath012() [all …]
|
/foundation/arkui/ui_lite/test/uitest/test_clip/ |
D | ui_test_clip.cpp | 251 path.LineTo({static_cast<float>(cos((18 + 72 * i - rot) / pi * UI_PI) * outerR + x), in UIKitClipTest003() 254 path.LineTo({static_cast<float>(cos((54 + 72 * i - rot) / pi * UI_PI) * innerR + x), in UIKitClipTest003() 270 …path.MoveTo({50, 50}).CurveTo({60, 110}, {80, 10}, {100, 50}).LineTo({100, 100}).LineTo({50, 100}); in UIKitClipTest004() 284 …path.MoveTo({20, 70}).LineTo({50, 60}).LineTo({110, 80}).LineTo({110, 130}).LineTo({50, 100}).Line… in UIKitClipTest005()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
D | text_drag_pattern.cpp | 173 path->LineTo(endX, endY); in GenerateClipPath() 174 path->LineTo(endX, endY + lineHeight); in GenerateClipPath() 175 path->LineTo(startX, endY + lineHeight); in GenerateClipPath() 176 path->LineTo(startX, endY); in GenerateClipPath() 179 path->LineTo(textEnd, startY); in GenerateClipPath() 180 path->LineTo(textEnd, endY); in GenerateClipPath() 181 path->LineTo(endX, endY); in GenerateClipPath() 182 path->LineTo(endX, endY + lastLineHeight_); in GenerateClipPath() 183 path->LineTo(textStart, endY + lastLineHeight_); in GenerateClipPath() 184 path->LineTo(textStart, startY + lineHeight); in GenerateClipPath() [all …]
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/window/ |
D | drag_window_ohos.cpp | 490 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 492 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 494 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 496 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 501 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 503 path.LineTo(renderText->GetPaintRect().Right() - renderText->GetGlobalOffset().GetX(), in DrawText() 505 path.LineTo(renderText->GetPaintRect().Right() - renderText->GetGlobalOffset().GetX(), in DrawText() 507 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 509 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 511 path.LineTo(renderText->GetPaintRect().Left() - renderText->GetGlobalOffset().GetX(), in DrawText() [all …]
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
D | rasterizer_scanline_antialias.cpp | 131 clipper_.LineTo(outline_, startX_, startY_); in ClosePolygon() 149 void RasterizerScanlineAntialias::LineTo(int32_t x, int32_t y) in LineTo() function in OHOS::RasterizerScanlineAntialias 151 clipper_.LineTo(outline_, RasterDepictInt::DownScale(x), RasterDepictInt::DownScale(y)); in LineTo() 170 clipper_.LineTo(outline_, RasterDepictInt::UpScale(x), RasterDepictInt::UpScale(y)); in LineToByfloat()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
D | text_span.cpp | 235 wavy.LineTo({POINTX3, POINTY4 - thickness}); in PaintDecorationStyle() 237 wavy.LineTo({POINTX6, POINTY2 - thickness}); in PaintDecorationStyle() 238 wavy.LineTo({POINTX6, POINTY2 + thickness}); in PaintDecorationStyle() 239 wavy.LineTo({POINTX5, POINTY4 + thickness}); in PaintDecorationStyle() 241 wavy.LineTo({POINTX2, POINTY2 + thickness}); in PaintDecorationStyle() 243 wavy.LineTo({POINTX0, POINTY2 - thickness}); in PaintDecorationStyle()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
D | path_test.cpp | 50 path.LineTo(b.GetX(), b.GetY()); in TestDrawStar() 51 path.LineTo(c.GetX(), c.GetY()); in TestDrawStar() 52 path.LineTo(d.GetX(), d.GetY()); in TestDrawStar() 53 path.LineTo(e.GetX(), e.GetY()); in TestDrawStar() 111 path.LineTo(rect.GetRight(), rect.GetBottom()); in TestMoveTo() 113 path.LineTo(rect.GetLeft(), rect.GetBottom()); in TestMoveTo() 117 path.LineTo(rect.GetLeft() + rect.GetWidth() / 2.0f, rect.GetBottom()); in TestMoveTo() 119 path.LineTo(rect.GetRight(), rect.GetTop() + rect.GetHeight() / 2.0f); in TestMoveTo() 150 path.LineTo(linePoints.at(i + 1).GetX(), linePoints.at(i + 1).GetY()); in TestLineTo() 191 path2.LineTo(rect.GetLeft(), rect.GetBottom()); in TestCubicTo() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
D | gauge_paint_method.cpp | 165 path.LineTo(pathStartVertexX - EDGE, pathStartVertexY + EDGE); in DrawIndicator() 166 path.LineTo(pathStartVertexX - EDGE, pathStartVertexY + EDGE + HEIGHT_OFFSET); in DrawIndicator() 167 path.LineTo(pathStartVertexX + EDGE, pathStartVertexY + EDGE + HEIGHT_OFFSET); in DrawIndicator() 168 path.LineTo(pathStartVertexX + EDGE, pathStartVertexY + EDGE); in DrawIndicator() 169 path.LineTo(pathStartVertexX, pathStartVertexY); in DrawIndicator()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
D | rs_border.cpp | 425 topBorder.LineTo(x, y); in PaintTopPath() 428 topClipPath.LineTo(offsetX + leftW * EXTEND, offsetY + topW * EXTEND); in PaintTopPath() 429 topClipPath.LineTo(offsetX, offsetY + topW * EXTEND); in PaintTopPath() 453 topBorder.LineTo(offsetX + width, y); in PaintTopPath() 456 topClipPath.LineTo(offsetX + width - rightW * EXTEND, offsetY + topW * EXTEND); in PaintTopPath() 457 topClipPath.LineTo(offsetX + width, offsetY + topW * EXTEND); in PaintTopPath() 538 rightBorder.LineTo(x + w - trX * 2.0f, y); 541 rightClipPath.LineTo(offsetX + width - rightW * EXTEND, offsetY + topW * EXTEND); 542 rightClipPath.LineTo(offsetX + width - rightW * EXTEND, offsetY); 566 rightBorder.LineTo(offsetX + width - rightW / 2.0f, offsetY + height); [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components/tip/ |
D | rosen_render_tip.cpp | 175 …path_.LineTo(globalArrowPosition.GetX() + (childHalfWidth - NormalizeToPx(border_.BottomRightRadiu… in PaintTopTip() 181 path_.LineTo(globalArrowPosition.GetX() + childHalfWidth, in PaintTopTip() 188 …path_.LineTo(globalArrowPosition.GetX() - (childHalfWidth - NormalizeToPx(border_.TopLeftRadius().… in PaintTopTip() 194 path_.LineTo(globalArrowPosition.GetX() - childHalfWidth, in PaintTopTip() 201 …path_.LineTo(globalArrowPosition.GetX() - NormalizeToPx(BEZIER_HORIZON_OFFSET_FOURTH) + arrowOffse… in PaintTopTip() 305 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing, in PaintLeftTip() 312 path_.LineTo( in PaintLeftTip() 318 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip() 324 …path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing - NormalizeToPx(border_.BottomRightRadius(… in PaintLeftTip() 330 path_.LineTo(globalArrowPosition.GetX() - NormalizeToPx(8.0_vp), in PaintLeftTip()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
D | sheet_drag_bar_paint_method.cpp | 82 path.LineTo(barCenterPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint() 85 path.LineTo(barRightPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint()
|
/foundation/arkui/ace_engine/frameworks/core/components/track/ |
D | rosen_render_arc_track.cpp | 166 path.LineTo(pathStartVertexX - EDGE, pathStartVertexY + EDGE); in DrawIndicator() 167 path.LineTo(pathStartVertexX - EDGE, pathStartVertexY + EDGE + HEIGHT_OFFSET); in DrawIndicator() 168 path.LineTo(pathStartVertexX + EDGE, pathStartVertexY + EDGE + HEIGHT_OFFSET); in DrawIndicator() 169 path.LineTo(pathStartVertexX + EDGE, pathStartVertexY + EDGE); in DrawIndicator() 170 path.LineTo(pathStartVertexX, pathStartVertexY); in DrawIndicator()
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
D | rosen_render_bubble.cpp | 334 …path_.LineTo(arrowPosition_.GetX() + (childHalfWidth - NormalizeToPx(border_.BottomRightRadius().G… in PaintTopBubbleInJs() 340 path_.LineTo(arrowPosition_.GetX() + childHalfWidth, in PaintTopBubbleInJs() 346 …path_.LineTo(arrowPosition_.GetX() - (childHalfWidth - NormalizeToPx(border_.TopLeftRadius().GetX(… in PaintTopBubbleInJs() 352 path_.LineTo(arrowPosition_.GetX() - childHalfWidth, in PaintTopBubbleInJs() 358 path_.LineTo(arrowPosition_.GetX() - NormalizeToPx(BEZIER_HORIZON_OFFSET_FOURTH) + arrowOffset, in PaintTopBubbleInJs() 462 …path_.LineTo(arrowPosition_.GetX() + (childHalfWidth - NormalizeToPx(border_.TopRightRadius().GetX… in PaintBottomBubbleInJs() 468 path_.LineTo(arrowPosition_.GetX() + childHalfWidth, in PaintBottomBubbleInJs() 474 …path_.LineTo(arrowPosition_.GetX() - (childHalfWidth - NormalizeToPx(border_.BottomLeftRadius().Ge… in PaintBottomBubbleInJs() 480 path_.LineTo(arrowPosition_.GetX() - childHalfWidth, in PaintBottomBubbleInJs() 486 path_.LineTo(arrowPosition_.GetX() - NormalizeToPx(BEZIER_HORIZON_OFFSET_FOURTH) + arrowOffset, in PaintBottomBubbleInJs() [all …]
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
D | path_test.cpp | 160 path->LineTo(4.5f, 5.0f); 174 path->LineTo(1.0f, 3.0f); 1035 path1.LineTo(3.0f, 4.0f); 1050 path1.LineTo(3.0f, 4.0f); 1052 path2.LineTo(10.0f, 10.0f); 1066 path1.LineTo(3.0f, 4.0f); 1082 path1.LineTo(3.0f, 4.0f); 1085 path2.LineTo(10.0f, 10.0f);
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
D | geometry_path_storage.h | 278 void LineTo(float x, float y) in LineTo() function 319 LineTo(x, y); in ArcTo() 330 LineTo(x, y); in ArcTo() 333 LineTo(x, y); in ArcTo()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
D | clip_utils.cpp | 37 ClipPath& ClipPath::LineTo(const PointF& point) in LineTo() function in OHOS::ClipPath 40 vertices_->LineTo(point.x, point.y); in LineTo() 61 vertices_->LineTo(float(center.x + sinma), float(center.y - cosma)); in Arc()
|
D | clip_utils.h | 48 ClipPath& LineTo(const PointF& point);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
D | drag_bar_paint_method.cpp | 91 path.LineTo(barCenterPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint() 93 path.LineTo( in Paint()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
D | texgine_path.h | 77 TexginePath &LineTo(const TexginePoint &p);
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
D | rosen_render_checkbox.cpp | 218 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawPartSelect() 313 path.LineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 324 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawCheck() 414 … path.LineTo(originX + start.GetX() + deltaX * ratio, originY + start.GetY() + deltaY * ratio); in DrawAnimationOffToOn() 416 path.LineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawAnimationOffToOn() 431 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawAnimationOffToOn() 434 … path.LineTo(originX + middle.GetX() + deltaX * ratio, originY + middle.GetY() - deltaY * ratio); in DrawAnimationOffToOn() 492 path.LineTo(originX + middle.GetX() + deltaX * ratio, originY + middle.GetY() - deltaY * ratio); in DrawAnimationOnToOff() 505 path.LineTo(originX + end.GetX() - deltaX * ratio, originY + end.GetY() + deltaY * ratio); in DrawAnimationOnToOff()
|
/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
D | rosen_render_triangle.cpp | 71 path.LineTo(arc2.GetStartPoint().GetX(), arc2.GetStartPoint().GetY()); in Paint() 74 path.LineTo(arc3.GetStartPoint().GetX(), arc3.GetStartPoint().GetY()); in Paint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
D | bubble_paint_method.cpp | 307 path.LineTo(arrowTopOffset - BEZIER_WIDTH_HALF.ConvertToPx(), childOffsetY); in BuildTopLinePath() 326 path.LineTo(childOffset_.GetX() + childSize_.Width() - radius, childOffsetY); in BuildTopLinePath() 361 path.LineTo(childOffset_.GetX() + childSize_.Width(), in BuildRightLinePath() 382 …path.LineTo(childOffset_.GetX() + childSize_.Width(), childOffsetY + childSize_.Height() - radius); in BuildRightLinePath() 403 …path.LineTo(arrowBottomOffset + BEZIER_WIDTH_HALF.ConvertToPx(), childOffsetY + childSize_.Height(… in BuildBottomLinePath() 422 path.LineTo(childOffset_.GetX() + radius, childOffsetY + childSize_.Height()); in BuildBottomLinePath() 433 … path.LineTo(childOffset_.GetX(), arrowPositionY + arrowOffset + BEZIER_WIDTH_HALF.ConvertToPx()); in BuildLeftLinePath() 453 path.LineTo(childOffset_.GetX(), childOffsetY + radius); in BuildLeftLinePath()
|
/foundation/arkui/ace_engine/frameworks/core/components/chart/ |
D | rosen_render_chart.cpp | 322 … path.LineTo(offset.GetX() - RATIO_CONSTANT * innerRadius / 2, offset.GetY() + innerRadius / 2); in PaintPoint() 323 … path.LineTo(offset.GetX() + RATIO_CONSTANT * innerRadius / 2, offset.GetY() + innerRadius / 2); in PaintPoint() 330 … path.LineTo(offset.GetX() - RATIO_CONSTANT * pointSize / 4, offset.GetY() + pointSize / 4); in PaintPoint() 331 … path.LineTo(offset.GetX() + RATIO_CONSTANT * pointSize / 4, offset.GetY() + pointSize / 4); in PaintPoint() 442 gradientPath.LineTo(previousPosition.GetX(), previousPosition.GetY()); in PaintLinearGraph() 459 gradientPath.LineTo(currentPosition.GetX(), currentPosition.GetY()); in PaintLinearGraph() 460 edgePath.LineTo(currentPosition.GetX(), currentPosition.GetY()); in PaintLinearGraph() 487 edgePath.LineTo(currentPosition.GetX(), currentPosition.GetY()); in PaintLinearGraph() 489 gradientPath.LineTo(currentPosition.GetX(), currentPosition.GetY()); in PaintLinearGraph() 517 gradientPath.LineTo(currentPosition.GetX(), paintRect.Bottom()); in PaintLinearGraph() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/ |
D | rosen_render_drag_bar.cpp | 111 path.LineTo(static_cast<RSScalar>(barCenterPoint_.GetX() * scaleX_ + totalOffset.GetX()), in Paint() 113 path.LineTo(static_cast<RSScalar>(barRightPoint_.GetX() * scaleX_ + totalOffset.GetX()), in Paint()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/c/ |
D | drawing_path.cpp | 46 CastToPath(cPath)->LineTo(x, y); in OH_Drawing_PathLineTo()
|