Home
last modified time | relevance | path

Searched refs:rsPath (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_path_test.cpp57 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 Drspath_fuzzer.cpp35 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 Ddrawing_decoration_painter.h42 … 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 Ddrawing_decoration_painter.cpp727 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 Dsk_painter.cpp51 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 Drosen_render_context.cpp4617 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 Dtext_drag_overlay_modifier.cpp50 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 Drs_path.cpp33 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 Drs_marshalling_test.cpp178 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 Dsvg_node.cpp70 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 Dbubble_paint_method.cpp319 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()
329rsPath.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 Drs_properties_painter_test.cpp232 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 Drich_editor_drag_overlay_modifier.cpp305 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 Drs_property_drawable_utils_test.cpp55 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 Drs_property_drawable_utils.h63 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 Drs_animation_test.cpp368 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 Drs_property_drawable_utils.cpp948 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 Drs_render_node_test.cpp607 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 Ddrag_drawing.cpp2902 auto rsPath = Rosen::RSPath::CreateRSPath(filterInfo.path); in Draw() local
2904 cvs->ClipPath(rsPath->GetDrawingPath(), Rosen::Drawing::ClipOp::INTERSECT, true); in Draw()