Home
last modified time | relevance | path

Searched refs:AddRect (Results 1 - 25 of 68) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpath_test.cpp90 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
117 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
383 path->AddRect(rect); in HWTEST_F()
398 path->AddRect(rect, PathDirection::CCW_DIRECTION); in HWTEST_F()
412 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f, PathDirection::CCW_DIRECTION); in HWTEST_F()
426 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
730 path2.AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
906 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
974 path->AddRect(1.0f, 4.0f, 3.0f, 2.0f); in HWTEST_F()
1005 path->AddRect(1. in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp133 void Path::AddRect(const Rect& rect, PathDirection dir) in AddRect() function in OHOS::Rosen::Drawing::Path
135 impl_->AddRect(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom(), dir); in AddRect()
138 void Path::AddRect(const Rect& rect, unsigned start, PathDirection dir) in AddRect() function in OHOS::Rosen::Drawing::Path
140 impl_->AddRect(rect, start, dir); in AddRect()
143 void Path::AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) in AddRect() function in OHOS::Rosen::Drawing::Path
145 impl_->AddRect(left, top, right, bottom, dir); in AddRect()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_path.h57 virtual void AddRect(const TestingRect& rect, TestingPathDirection dir = TestingPathDirection::CW_DIRECTION) {} in AddRect() function in OHOS::Ace::Testing::TestingPath
59 virtual void AddRect( in AddRect() function in OHOS::Ace::Testing::TestingPath
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_capsule_track.cpp122 path.AddRect(radius + offsetX, offsetY, progressSize.Width() - radius + offsetX, in DrawCapsuleProgressAnimation()
128 path.AddRect(radius + offsetX, offsetY, progressWidth + offsetX, progressSize.Height() + offsetY); in DrawCapsuleProgressAnimation()
191 path.AddRect( in DrawCapsuleProgressVerticalAnimation()
197 path.AddRect(RSRect( in DrawCapsuleProgressVerticalAnimation()
/foundation/arkui/ace_engine/frameworks/core/components/side_bar/
H A Drosen_render_side_bar_container.cpp44 dPath.AddRect(RSRect(paintRect.Left(), paintRect.Top(), paintRect.Right(), paintRect.Bottom())); in Paint()
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_custom_paint_method_testtwo_ng.cpp212 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
218 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
251 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
259 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
341 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
374 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
414 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
421 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
462 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
469 EXPECT_CALL(path, AddRect( in HWTEST_F()
[all...]
H A Dmock_canvas_paint.h63 MOCK_METHOD2(AddRect, void(const TestingRect& rect, TestingPathDirection dir));
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp110 path.AddRect(rect); in TestMoveTo()
236 path.AddRect(rect); in TestAddRect()
251 path2.AddRect(rect2); in TestAddRect()
380 path.AddRect(rect); in TestAddPath()
408 path.AddRect(rect1); in TestFillStyle()
409 path.AddRect(rect2); in TestFillStyle()
431 path.AddRect(rect1); in TestFillStyle2()
432 path.AddRect(rect2); in TestFillStyle2()
454 path.AddRect(rect1); in TestFillStyle3()
455 path.AddRect(rect in TestFillStyle3()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_paint_method.cpp68 path.AddRect(startMargin, -dividerWidth, optionSize.Width() - endMargin, dividerWidth); in PaintCustomDivider()
111 path.AddRect(startX, 0, rectWidth, static_cast<float>(selectTheme->GetDefaultDividerWidth().ConvertToPx())); in PaintDivider()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h286 virtual void AddRect(const Rect& rect, PathDirection dir = PathDirection::CW_DIRECTION);
295 virtual void AddRect(const Rect& rect, unsigned start, PathDirection dir = PathDirection::CW_DIRECTION);
296 virtual void AddRect(
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/
H A Dpath_fuzzer.cpp49 path.AddRect(rect, PathDirection::CCW_DIRECTION); in PathAddFuzzTest()
167 path.AddRect(rect, static_cast<PathDirection>(direction % DIRECTION_SIZE)); in PathFuzzTest003()
169 path.AddRect(rect, start, static_cast<PathDirection>(direction % DIRECTION_SIZE)); in PathFuzzTest003()
170 path.AddRect(left, top, right, bottom, static_cast<PathDirection>(direction % DIRECTION_SIZE)); in PathFuzzTest003()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h68 virtual void AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) = 0;
69 virtual void AddRect(const Rect& rect, unsigned start, PathDirection dir) = 0;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.h67 void AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) override;
68 void AddRect(const Rect& rect, unsigned start, PathDirection dir) override;
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/
H A Dfg_mask_test.cpp70 path.AddRect(Drawing::Rect(50, 50, 900, 900)); in GRAPHIC_TEST()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_paint_method.cpp68 path.AddRect(info.startMargin, info.topMargin, info.width - info.endMargin, in PaintDivider()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_paint_method.cpp92 path.AddRect(info.startMargin, info.topMargin, info.width - info.endMargin, info.topMargin + info.strokeWidth); in PaintDivider()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Doffscreen_canvas_pattern.h50 void AddRect(const Rect& rect);
H A Doffscreen_canvas_pattern.cpp109 void OffscreenCanvasPattern::AddRect(const Rect& rect) in AddRect() function in OHOS::Ace::NG::OffscreenCanvasPattern
111 offscreenPaintMethod_->AddRect(rect); in AddRect()
H A Dcanvas_rendering_context_2d_model_ng.h86 void AddRect(const Rect& rect) override;
H A Doffscreen_canvas_rendering_context_2d_model_ng.h83 void AddRect(const Rect& rect) override;
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drosen_render_option.cpp152 path.AddRect(RSRect( in PaintLine()
/foundation/arkui/ui_lite/test/uitest/test_canvas/
H A Dui_test_canvas.cpp487 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath004()
546 canvas->AddRect({RECT_X, RECT_Y}, RECT_WIDTH, RECT_HEIGHT); in UIKitCanvasTestDrawPath008()
647 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath014()
663 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath015()
678 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath016()
693 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath017()
709 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath018()
725 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath019()
922 canvas->AddRect({RECT_X, RECT_Y}, RECT_HEIGHT, RECT_WIDTH); in UIKitCanvasTestDrawPath030()
1009 canvas->AddRect({INT16_MA in UIKitCanvasTestDrawPath034()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Dcanvas_rendering_context_2d_model_impl.cpp318 void CanvasRenderingContext2DModelImpl::AddRect(const Rect& rect) in AddRect() function in OHOS::Ace::Framework::CanvasRenderingContext2DModelImpl
321 pattern_->AddRect(rect); in AddRect()
H A Doffscreen_canvas_rendering_context_2d_model_impl.cpp320 void OffscreenCanvasRenderingContext2DModelImpl::AddRect(const Rect& rect) in AddRect() function in OHOS::Ace::Framework::OffscreenCanvasRenderingContext2DModelImpl
323 pattern_->AddRect(rect); in AddRect()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Dcustom_paint_component.h95 void AddRect(const Rect& rect);

Completed in 16 milliseconds

123