/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_path_test.cpp | 57 auto rsPath = RSPath::CreateRSPath(); variable 58 ASSERT_NE(rsPath, nullptr); 70 ASSERT_NE(rsPath, nullptr); 81 rsPath->GetDrawingPath(); 82 ASSERT_NE(rsPath->drPath_, nullptr); 95 EXPECT_NE(rsPath, reveseRsPath); 118 RSPath rsPath; variable 119 rsPath.SetDrawingPath(path); 120 rsPath.SetDrawingPath(path); 121 EXPECT_NE(&rsPath, nullptr); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspath_fuzzer/ |
H A D | rspath_fuzzer.cpp | 35 auto rsPath = std::make_shared<RSPath>(); variable 70 rsPath->GetDistance(); in DoOtherFunc() 71 rsPath->Reverse(); in DoOtherFunc() 72 rsPath->GetDrawingPath(); in DoOtherFunc() 107 rsPath->GetPosTan(distance, pos, degrees); in DoGetPosTan() 111 rsPath->GetPosTan(distance, postion, degrees); in DoGetPosTan() 112 rsPath->GetPosTan(distance, postions, degrees); in DoGetPosTan() 127 rsPath->SetDrawingPath(path); in DoSetDrawingPath()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.h | 42 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath); 44 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath); 46 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath); 48 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath); 50 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath); 52 … const RefPtr<BasicShape>& basicShape, const SizeF& size, const OffsetF& position, RSPath& rsPath);
|
H A D | drawing_decoration_painter.cpp | 727 RSRecordingPath rsPath; in DrawingCreatePath() local 730 return rsPath; in DrawingCreatePath() 753 DrawingCreatePath(basicShape, size, position, rsPath); in DrawingCreatePath() 757 DrawingCreateRect(basicShape, size, position, rsPath); in DrawingCreatePath() 765 return rsPath; in DrawingCreatePath() 796 rsPath.AddRoundRect(roundRect); in DrawingCreateInset() 829 rsPath.AddOval(rect); in DrawingCreateEllipse() 836 rsPath.AddOval(rect); in DrawingCreateEllipse() 854 rsPath.AddPoly(rsPoints, rsPoints.size(), true); in DrawingCreatePolygon() 873 rsPath.AddPath(tmpPath, offsetX, offsetY); in DrawingCreatePath() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | sk_painter.cpp | 51 RSRecordingPath rsPath; in DrawPath() 52 bool ret = rsPath.BuildFromSVGString(commands.c_str()); in DrawPath() 58 canvas.DrawPath(rsPath); in DrawPath() 62 canvas.DrawPath(rsPath); in DrawPath() 264 RSPath rsPath; in DrawPath() local 265 auto rsSkPath = rsPath.GetImpl<RSSkPath>(); in DrawPath() 269 canvas.DrawPath(rsPath); in DrawPath()
|
H A D | rosen_render_context.cpp | 4617 auto shapePath = Rosen::RSPath::CreateRSPath(rsPath); 4711 RSRecordingPath rsPath; local 4712 rsPath.BuildFromSVGString(commands); 4713 rsNode_->SetClipBounds(Rosen::RSPath::CreateRSPath(rsPath)); 4725 RSRecordingPath rsPath; local 4727 rsNode_->SetClipBounds(Rosen::RSPath::CreateRSPath(rsPath)); 4748 RSRecordingPath rsPath; local 4749 rsPath.AddRoundRect(rsRoundRect); 4750 rsNode_->SetClipBounds(Rosen::RSPath::CreateRSPath(rsPath)); 4756 RSRecordingPath rsPath; local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_overlay_modifier.cpp | 50 RSRecordingPath rsPath; in PaintShadow() local 51 rsPath.AddPath(path); in PaintShadow() 52 rsPath.Offset(shadow.GetOffset().GetX(), shadow.GetOffset().GetY()); in PaintShadow() 57 auto bounds = rsPath.GetBounds(); in PaintShadow() 61 …canvas.DrawShadowStyle(rsPath, planeParams, lightPos, DEFAULT_LIGHT_RADIUS, ambientColor, spotColo… in PaintShadow()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_path.cpp | 33 auto rsPath = std::make_shared<RSPath>(); in CreateRSPath() local 34 rsPath->SetDrawingPath(path); in CreateRSPath() 35 return rsPath; in CreateRSPath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_marshalling_test.cpp | 178 std::shared_ptr<RSPath> rsPath; variable 179 TestNullptrObjectSerialization(rsPath); 448 auto rsPath = RSPath::CreateRSPath(path); variable 454 ASSERT_TRUE(RSMarshallingHelper::Marshalling(parcel, rsPath));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_node.cpp | 70 auto rsPath = refSvgNode->AsPath(viewPort); in AsClipPathCommands() local 71 return rsPath.ConvertToSVGString(); in AsClipPathCommands()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_paint_method.cpp | 319 RSPath rsPath = path; in PaintShadow() local 321 RSRecordingPath rsPath; in PaintShadow() local 322 rsPath.AddPath(path); in PaintShadow() 324 rsPath.Offset(shadow.GetOffset().GetX(), shadow.GetOffset().GetY()); in PaintShadow() 328 RSPoint3 lightPos = { rsPath.GetBounds().GetLeft() / 2.0 + rsPath.GetBounds().GetRight() / 2.0, in PaintShadow() 329 …rsPath.GetBounds().GetTop() / 2.0 + rsPath.GetBounds().GetBottom() / 2.0, shadow.GetLightHeight() … in PaintShadow() 331 auto bounds = rsPath.GetBounds(); in PaintShadow() 336 … canvas.DrawShadow(rsPath, planeParams, lightPos, shadow.GetLightRadius(), ambientColor, spotColor, in PaintShadow()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_painter_test.cpp | 232 std::shared_ptr<RSPath> rsPath = std::make_shared<RSPath>(); variable 234 rsPath->SetDrawingPath(path); 235 properties.SetShadowPath(rsPath); 253 std::shared_ptr<RSPath> rsPath = std::make_shared<RSPath>(); variable 254 properties.SetClipBounds(rsPath); 352 rsPath->SetDrawingPath(path); 353 properties.SetShadowPath(rsPath); 372 EXPECT_NE(rsPath, nullptr); 373 properties.SetClipBounds(rsPath); 686 properties.SetClipBounds(rsPath); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_overlay_modifier.cpp | 305 RSRecordingPath rsPath; in PaintShadow() local 306 rsPath.AddPath(path); in PaintShadow() 307 rsPath.Offset(shadow.GetOffset().GetX(), shadow.GetOffset().GetY()); in PaintShadow() 312 auto bounds = rsPath.GetBounds(); in PaintShadow() 316 …canvas.DrawShadowStyle(rsPath, planeParams, lightPos, DEFAULT_LIGHT_RADIUS, ambientColor, spotColo… in PaintShadow()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_property_drawable_utils_test.cpp | 55 std::shared_ptr<RSPath> rsPath = RSPath::CreateRSPath(path); variable 56 EXPECT_NE(rsPath, nullptr); 59 rsPropertyDrawableUtils->CreateShadowPath(rsPath, clipBounds, rrect); 60 rsPath = nullptr; 61 rsPropertyDrawableUtils->CreateShadowPath(rsPath, clipBounds, rrect); 63 rsPropertyDrawableUtils->CreateShadowPath(rsPath, clipBounds, rrect);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_property_drawable_utils.h | 63 static Drawing::Path CreateShadowPath(const std::shared_ptr<RSPath> rsPath,
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/test/unittest/animation/ |
H A D | rs_animation_test.cpp | 368 std::shared_ptr<RSPath> rsPath= RSPath::CreateRSPath(path); variable 372 std::make_unique<RSPathAnimation<Vector2f>>(property, rsPath);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_utils.cpp | 948 Drawing::Path RSPropertyDrawableUtils::CreateShadowPath(const std::shared_ptr<RSPath> rsPath, in CreateShadowPath() argument 952 if (rsPath && rsPath->GetDrawingPath().IsValid()) { in CreateShadowPath() 953 path = rsPath->GetDrawingPath(); in CreateShadowPath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_render_node_test.cpp | 607 std::shared_ptr<RSPath> rsPath = std::make_shared<RSPath>(); variable 608 node.renderContent_->renderProperties_.SetClipBounds(rsPath);
|
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_drawing.cpp | 2902 auto rsPath = Rosen::RSPath::CreateRSPath(filterInfo.path); in Draw() local 2904 cvs->ClipPath(rsPath->GetDrawingPath(), Rosen::Drawing::ClipOp::INTERSECT, true); in Draw()
|