/foundation/arkui/ui_lite/test/uitest/test_canvas/ |
H A D | ui_test_canvas.cpp | 459 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath002() 516 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath006() 561 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath009() 562 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath009() 578 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath010() 579 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath010() 580 canvas->LineTo({START1_X, START1_Y}); in UIKitCanvasTestDrawPath010() 596 canvas->LineTo({LINE1_X, LINE1_Y}); in UIKitCanvasTestDrawPath011() 598 canvas->LineTo({LINE2_X, LINE2_Y}); in UIKitCanvasTestDrawPath011() 613 canvas->LineTo({LINE1_ in UIKitCanvasTestDrawPath012() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_tip_modifier.cpp | 150 path.LineTo(vertex_.GetX() + arrowSizeWidth * HALF, vertex_.GetY() + arrowSizeHeight); in PaintHorizontalBubble() 153 path.LineTo(vertex_.GetX() - arrowSizeWidth * HALF, vertex_.GetY() + bubbleSize_.Height()); in PaintHorizontalBubble() 156 path.LineTo(vertex_.GetX() - arrowHorizonOffset * HALF, vertex_.GetY() + arrowVerticalOffset); in PaintHorizontalBubble() 162 path.LineTo(vertex_.GetX() - arrowSizeWidth * HALF, vertex_.GetY() - arrowSizeHeight); in PaintHorizontalBubble() 165 path.LineTo(vertex_.GetX() + arrowSizeWidth * HALF, vertex_.GetY() - bubbleSize_.Height()); in PaintHorizontalBubble() 168 path.LineTo(vertex_.GetX() + arrowHorizonOffset * HALF, vertex_.GetY() - arrowVerticalOffset); in PaintHorizontalBubble() 189 path.LineTo(vertex_.GetX() + arrowHeight, vertex_.GetY() - arrowWidth * HALF); in PaintVerticalBubble() 192 path.LineTo(vertex_.GetX() + bubbleSize_.Width() - bubbleSize_.Height() * HALF, in PaintVerticalBubble() 197 path.LineTo(vertex_.GetX() + arrowHeight + circularOffset, vertex_.GetY() + bubbleSize_.Height() * HALF); in PaintVerticalBubble() 200 path.LineTo(vertex in PaintVerticalBubble() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | draw_path_test.cpp | 27 path.LineTo(300, 300); // to (300, 300) in OnTestFunctionCpu() 35 path.LineTo(500, 500); // to (500, 500) in OnTestFunctionGpuUpScreen() 46 path.LineTo(300, 300); // to (300, 300) in OnTestPerformance()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/window/ |
H A D | drag_window_ohos.cpp | 342 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 344 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 346 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 348 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 353 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 355 path.LineTo(renderText->GetPaintRect().Right() - renderText->GetGlobalOffset().GetX(), in DrawText() 357 path.LineTo(renderText->GetPaintRect().Right() - renderText->GetGlobalOffset().GetX(), in DrawText() 359 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 361 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText() 363 path.LineTo(renderTex in DrawText() [all...] |
/foundation/arkui/ui_lite/test/uitest/test_clip/ |
H A 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}).LineTo({20, 120}); in UIKitClipTest005()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_pattern.cpp | 177 path->LineTo(endX, endY); in GenerateClipPath() 178 path->LineTo(endX, endY + lineHeight); in GenerateClipPath() 179 path->LineTo(startX, endY + lineHeight); in GenerateClipPath() 180 path->LineTo(startX, endY); in GenerateClipPath() 184 path->LineTo(textEnd, startY); in GenerateClipPath() 185 path->LineTo(textEnd, endY); in GenerateClipPath() 186 path->LineTo(endX, endY); in GenerateClipPath() 187 path->LineTo(endX, endY + lastLineHeight_); in GenerateClipPath() 188 path->LineTo(textStart, endY + lastLineHeight_); in GenerateClipPath() 189 path->LineTo(textStar in GenerateClipPath() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_paint_method.cpp | 490 path.LineTo(arrowTopOffset - BEZIER_WIDTH_HALF.ConvertToPx() + borderOffset, in BuildTopLinePath() 511 path.LineTo(childOffset_.GetX() + childSize_.Width() - radius, childOffsetY + borderOffset); in BuildTopLinePath() 529 path.LineTo(arrowTopOffset + arrowOffsetsFromClip_[P1INDEX][0] + borderOffset / HALF, in BuildTopDoubleBorderPath() 531 path.LineTo(arrowTopOffset + arrowOffsetsFromClip_[P2INDEX][0] + borderOffset, in BuildTopDoubleBorderPath() 536 path.LineTo(arrowTopOffset + arrowOffsetsFromClip_[P4INDEX][0], in BuildTopDoubleBorderPath() 542 path.LineTo(childOffset_.GetX() + childSize_.Width() - radius, childOffsetY + borderOffset); in BuildTopDoubleBorderPath() 582 path.LineTo(childOffset_.GetX() + childSize_.Width() - borderOffset, in BuildRightLinePath() 603 path.LineTo(childOffset_.GetX() + childSize_.Width() - borderOffset, in BuildRightLinePath() 616 path.LineTo(childOffset_.GetX() + childSize_.Width() - borderOffset, in BuildRightDoubleBorderPath() 618 path.LineTo(childOffset in BuildRightDoubleBorderPath() [all...] |
H A D | bubble_layout_algorithm.cpp | 1537 std::string BubbleLayoutAlgorithm::LineTo(double x, double y) in LineTo() function in OHOS::Ace::NG::BubbleLayoutAlgorithm 1857 path += LineTo(arrowTopOffset - ARROW_VERTICAL_P1_OFFSET_X.ConvertToPx(), childOffsetY); // P1 in BuildTopLinePath() 1858 path += LineTo(arrowTopOffset - ARROW_VERTICAL_P2_OFFSET_X.ConvertToPx(), in BuildTopLinePath() 1863 path += LineTo(arrowTopOffset + ARROW_VERTICAL_P5_OFFSET_X.ConvertToPx(), childOffsetY); // P5 in BuildTopLinePath() 1880 path += LineTo(childOffset_.GetX() + childSize_.Width() - radius, childOffsetY); in BuildTopLinePath() 1906 path += LineTo(childOffset_.GetX() + childSize_.Width(), in BuildRightLinePath() 1908 path += LineTo(childOffset_.GetX() + childSize_.Width() + ARROW_HORIZON_P2_OFFSET_X.ConvertToPx(), in BuildRightLinePath() 1913 path += LineTo(childOffset_.GetX() + childSize_.Width(), in BuildRightLinePath() 1931 path += LineTo(childOffset_.GetX() + childSize_.Width(), childOffsetY + childSize_.Height() - radius); in BuildRightLinePath() 1957 path += LineTo(arrowBottomOffse in BuildBottomLinePath() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_wrapper_paint_method.cpp | 104 path.LineTo(arrowOffset - ARROW_VERTICAL_P1_OFFSET_X.ConvertToPx() + targetOffset.GetX(), in GetBorderDrawPath() 106 path.LineTo(arrowOffset - ARROW_VERTICAL_P2_OFFSET_X.ConvertToPx() + targetOffset.GetX() - borderOffset, in GetBorderDrawPath() 112 path.LineTo(arrowOffset + ARROW_VERTICAL_P5_OFFSET_X.ConvertToPx() + targetOffset.GetX(), in GetBorderDrawPath() 114 path.LineTo(sheetSize.Width() - sheetRadius + targetOffset.GetX(), in GetBorderDrawPath() 119 path.LineTo( in GetBorderDrawPath() 123 path.LineTo(sheetRadius + targetOffset.GetX(), sheetSize.Height() + targetOffset.GetY() + borderOffset); in GetBorderDrawPath() 126 path.LineTo( in GetBorderDrawPath()
|
H A D | sheet_drag_bar_paint_method.cpp | 77 path.LineTo(barCenterPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint() 80 path.LineTo(barRightPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint()
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A 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/texgine_drawing/src/ |
H A D | texgine_path.cpp | 57 TexginePath &TexginePath::LineTo(const TexginePoint &p) in LineTo() function in OHOS::Rosen::TextEngine::TexginePath 60 path_->LineTo(p.fX, p.fY); in LineTo()
|
H A D | texgine_path.h | 77 TexginePath &LineTo(const TexginePoint &p);
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | rosen_render_checkbox.cpp | 161 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawPartSelect() 211 path.LineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawCheck() 222 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawCheck() 263 path.LineTo(originX + start.GetX() + deltaX * ratio, originY + start.GetY() + deltaY * ratio); in DrawAnimationOffToOn() 265 path.LineTo(originX + middle.GetX(), originY + middle.GetY()); in DrawAnimationOffToOn() 280 path.LineTo(originX + end.GetX(), originY + end.GetY()); in DrawAnimationOffToOn() 283 path.LineTo(originX + middle.GetX() + deltaX * ratio, originY + middle.GetY() - deltaY * ratio); in DrawAnimationOffToOn() 317 path.LineTo(originX + middle.GetX() + deltaX * ratio, originY + middle.GetY() - deltaY * ratio); in DrawAnimationOnToOff() 330 path.LineTo(originX + end.GetX() - deltaX * ratio, originY + end.GetY() + deltaY * ratio); in DrawAnimationOnToOff()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_test.cpp | 51 path.LineTo(b.GetX(), b.GetY()); in TestDrawStar() 52 path.LineTo(c.GetX(), c.GetY()); in TestDrawStar() 53 path.LineTo(d.GetX(), d.GetY()); in TestDrawStar() 54 path.LineTo(e.GetX(), e.GetY()); in TestDrawStar() 112 path.LineTo(rect.GetRight(), rect.GetBottom()); in TestMoveTo() 114 path.LineTo(rect.GetLeft(), rect.GetBottom()); in TestMoveTo() 118 path.LineTo(rect.GetLeft() + rect.GetWidth() / 2.0f, rect.GetBottom()); in TestMoveTo() 120 path.LineTo(rect.GetRight(), rect.GetTop() + rect.GetHeight() / 2.0f); in TestMoveTo() 151 path.LineTo(linePoints.at(i + 1).GetX(), linePoints.at(i + 1).GetY()); in TestLineTo() 192 path2.LineTo(rec in TestCubicTo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/tip/ |
H A D | rosen_render_tip.cpp | 166 path_.LineTo(globalArrowPosition.GetX() + (childHalfWidth - NormalizeToPx(border_.BottomRightRadius().GetX())), in PaintTopTip() 171 path_.LineTo(globalArrowPosition.GetX() + childHalfWidth, in PaintTopTip() 177 path_.LineTo(globalArrowPosition.GetX() - (childHalfWidth - NormalizeToPx(border_.TopLeftRadius().GetX())), in PaintTopTip() 182 path_.LineTo(globalArrowPosition.GetX() - childHalfWidth, in PaintTopTip() 188 path_.LineTo(globalArrowPosition.GetX() - NormalizeToPx(BEZIER_HORIZON_OFFSET_FOURTH) + arrowOffset, in PaintTopTip() 289 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing, in PaintLeftTip() 295 path_.LineTo( in PaintLeftTip() 301 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip() 307 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing - NormalizeToPx(border_.BottomRightRadius().GetX()), in PaintLeftTip() 312 path_.LineTo(globalArrowPositio in PaintLeftTip() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_path.cpp | 52 void NativeCanvasPath::LineTo(double x, double y) in LineTo() function in OHOS::Ace::Framework::NativeCanvasPath 54 path2d_->LineTo(x, y); in LineTo()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | drag_bar_paint_method.cpp | 85 path.LineTo(barCenterPoint.GetX().ConvertToPx() + totalOffset.GetX(), in Paint() 87 path.LineTo( in Paint()
|
/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A 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/ui_lite/frameworks/draw/ |
H A 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()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_path_test.cpp | 50 skiaPath.LineTo(100, 100); // 100: x, y in HWTEST_F() 51 skiaPath.LineTo(100, 0); // 100: x in HWTEST_F() 207 skiaPath.LineTo(100, 100); // 100: x, y in HWTEST_F()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_path_storage.h | 278 void LineTo(float x, float y) in LineTo() function in OHOS::UICanvasVertices 319 LineTo(x, y); in ArcTo() 330 LineTo(x, y); in ArcTo() 333 LineTo(x, y); in ArcTo()
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | rosen_render_bubble.cpp | 326 path_.LineTo(arrowPosition_.GetX() + (childHalfWidth - NormalizeToPx(border_.BottomRightRadius().GetX())), in PaintTopBubbleInJs() 331 path_.LineTo(arrowPosition_.GetX() + childHalfWidth, in PaintTopBubbleInJs() 337 path_.LineTo(arrowPosition_.GetX() - (childHalfWidth - NormalizeToPx(border_.TopLeftRadius().GetX())), in PaintTopBubbleInJs() 342 path_.LineTo(arrowPosition_.GetX() - childHalfWidth, in PaintTopBubbleInJs() 348 path_.LineTo(arrowPosition_.GetX() - NormalizeToPx(BEZIER_HORIZON_OFFSET_FOURTH) + arrowOffset, in PaintTopBubbleInJs() 452 path_.LineTo(arrowPosition_.GetX() + (childHalfWidth - NormalizeToPx(border_.TopRightRadius().GetX())), in PaintBottomBubbleInJs() 457 path_.LineTo(arrowPosition_.GetX() + childHalfWidth, in PaintBottomBubbleInJs() 463 path_.LineTo(arrowPosition_.GetX() - (childHalfWidth - NormalizeToPx(border_.BottomLeftRadius().GetX())), in PaintBottomBubbleInJs() 468 path_.LineTo(arrowPosition_.GetX() - childHalfWidth, in PaintBottomBubbleInJs() 474 path_.LineTo(arrowPosition in PaintBottomBubbleInJs() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | path_test.cpp | 160 path->LineTo(4.5f, 5.0f); in HWTEST_F() 174 path->LineTo(1.0f, 3.0f); in HWTEST_F() 1035 path1.LineTo(3.0f, 4.0f); in HWTEST_F() 1050 path1.LineTo(3.0f, 4.0f); in HWTEST_F() 1052 path2.LineTo(10.0f, 10.0f); in HWTEST_F() 1066 path1.LineTo(3.0f, 4.0f); in HWTEST_F() 1082 path1.LineTo(3.0f, 4.0f); in HWTEST_F() 1085 path2.LineTo(10.0f, 10.0f); in HWTEST_F() 1099 path.LineTo(3.0f, 4.0f); in HWTEST_F()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_canvas_unit_test.cpp | 353 * @tc.desc: Verify LineTo function, equal. 364 canvas_->LineTo({LINE1_X, LINE1_Y}); in HWTEST_F() 376 * @tc.desc: Verify LineTo function, equal. 388 canvas_->LineTo({LINE1_X, LINE1_Y}); in HWTEST_F() 397 canvas_->LineTo({LINE2_X, LINE2_Y}); in HWTEST_F() 530 canvas_->LineTo({LINE1_X, LINE1_Y}); in HWTEST_F() 557 canvas_->LineTo({LINE1_X, LINE1_Y}); in HWTEST_F() 589 canvas_->LineTo({LINE1_X, LINE1_Y}); in HWTEST_F() 602 canvas_->LineTo({LINE2_X, LINE2_Y}); in HWTEST_F() 1670 canvas_->LineTo({START1_ in HWTEST_F() [all...] |