/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_paint_method.cpp | 32 auto clipPath = props->GetClipPath().value_or(""); in GetContentDrawFunction() local 33 if (clipPath == "") { in GetContentDrawFunction() 37 path->SetValue(clipPath); in GetContentDrawFunction()
|
H A D | menu_pattern.cpp | 1419 auto clipPath = menuLayoutAlgorithm->GetClipPath(); in UpdateClipPath() local 1424 paintProperty->UpdateClipPath(clipPath); in UpdateClipPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_node.cpp | 103 auto clipPath = AceType::MakeRefPtr<ClipPath>(); in CreateBoxComponent() local 106 clipPath->SetBasicShape(path); in CreateBoxComponent() 107 boxComponent->SetClipPath(clipPath); in CreateBoxComponent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_node.cpp | 467 auto clipPath = refSvgNode->AsPath(viewPort); in AsRSPath() local 469 if (clipPath.isEmpty()) { in AsRSPath() 470 LOGW("OnClipPath abandon, clipPath is empty"); in AsRSPath() 473 skCanvas_->clipPath(clipPath, SkClipOp::kIntersect, true); in AsRSPath() 475 if (!clipPath.IsValid()) { in AsRSPath() 476 LOGW("OnClipPath abandon, clipPath is empty"); in AsRSPath() 479 rsCanvas_->ClipPath(clipPath, RSClipOp::INTERSECT, true); in AsRSPath()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | shape_model_impl.cpp | 95 auto clipPath = AceType::MakeRefPtr<ClipPath>(); in InitBox() local 96 clipPath->SetGeometryBoxType(GeometryBoxType::BORDER_BOX); in InitBox() 97 box->SetClipPath(clipPath); in InitBox()
|
H A D | view_abstract_model_impl.cpp | 907 auto clipPath = AceType::MakeRefPtr<ClipPath>(); in SetClipShape() local 908 clipPath->SetBasicShape(shape); in SetClipShape() 909 box->SetClipPath(clipPath); in SetClipShape()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | moon_progress_modifier.cpp | 224 RSPath clipPath; in PaintSquareMoon() local 227 RSRecordingPath clipPath; in PaintSquareMoon() local 244 clipPath.AddCircle(centerPt.GetX(), centerPt.GetY(), smallRadius_, RSPathDirection::CW_DIRECTION); in PaintSquareMoon() 245 canvas.ClipPath(clipPath, RSClipOp::DIFFERENCE, true); in PaintSquareMoon()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_paint_method.h | 83 void SetClipPath(const std::string& clipPath) in SetClipPath() argument 85 clipPath_ = clipPath; in SetClipPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | box_base_component.h | 265 void SetClipPath(const RefPtr<ClipPath>& clipPath) in SetClipPath() argument 267 clipPath_ = clipPath; in SetClipPath()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.cpp | 532 auto clipPath = ClipPath::CreateShape(value); in CreateClipPath() local 535 if (!clipPath) { in CreateClipPath() 536 clipPath = AceType::MakeRefPtr<ClipPath>(); in CreateClipPath() 539 if (clipPath) { in CreateClipPath() 540 clipPath->SetGeometryBoxType(geometryBoxType); in CreateClipPath() 542 return clipPath; in CreateClipPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | style.h | 141 RefPtr<ClipPath> clipPath; member
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 528 Drawing::Path clipPath; in DrawBorderImpl() local 529 clipPath.Op(borderGeo.pathVec[idx1], borderGeo.pathVec[idx2], Drawing::PathOp::UNION); in DrawBorderImpl() 530 canvas.ClipPath(clipPath, Drawing::ClipOp::INTERSECT, true); in DrawBorderImpl() 538 Drawing::Path clipPath; in DrawBorderImpl() local 539 clipPath.Op(borderGeo.pathVec[idx1], borderGeo.pathVec[idx2], Drawing::PathOp::UNION); in DrawBorderImpl() 540 clipPath.Op(borderGeo.pathVec[idx3], clipPath, Drawing::PathOp::UNION); in DrawBorderImpl() 541 canvas.ClipPath(clipPath, Drawing::ClipOp::INTERSECT, true); in DrawBorderImpl()
|
/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/ |
H A D | sk_image_chain.cpp | 254 canvas_->clipPath(*path_, true);
in ApplyClipping()
|
/foundation/arkui/ace_engine/frameworks/core/components/tip/ |
H A D | rosen_render_tip.cpp | 140 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintTopTip() 263 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintLeftTip()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_transition_demo.cpp | 75 context.canvas->clipPath(path); 147 context.canvas->clipPath(path);
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | rosen_render_bubble.cpp | 222 skCanvas->clipPath(path_, SkClipOp::kIntersect, true); in PaintBubbleWithArrow() 299 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintTopBubbleInJs() 425 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintBottomBubbleInJs() 543 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintTopBubble() 652 skCanvas->clipPath(path_, SkClipOp::kIntersect); in PaintBottomBubble()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_composed_element.cpp | 951 auto clipPath = render->GetClipPath(); in GetClip() local 953 if (clipPath && clipPath->GetBasicShape()) { in GetClip() 954 int32_t shapeType = static_cast<int32_t>(clipPath->GetBasicShape()->GetBasicShapeType()); in GetClip()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 2452 canvas->clipPath(topClipPath, SkClipOp::kDifference, true); in PaintBorder() 2463 canvas->clipPath(topClipPath, SkClipOp::kDifference, true); in PaintBorder() 2491 canvas->clipPath(rightClipPath, SkClipOp::kDifference, true); in PaintBorder() 2502 canvas->clipPath(rightClipPath, SkClipOp::kDifference, true); in PaintBorder() 2529 canvas->clipPath(bottomClipPath, SkClipOp::kDifference, true); in PaintBorder() 2540 canvas->clipPath(bottomClipPath, SkClipOp::kDifference, true); in PaintBorder() 2567 canvas->clipPath(leftClipPath, SkClipOp::kDifference, true); in PaintBorder() 2578 canvas->clipPath(topClipPath, SkClipOp::kDifference, true); in PaintBorder()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_presentation_pattern.cpp | 1830 std::string clipPath; in GetSheetTypeWithAuto() local 1836 clipPath = GetPopupStyleSheetClipPath(sheetSize, sheetRadius); in GetSheetTypeWithAuto() 1838 clipPath = GetCenterStyleSheetClipPath(sheetSize, sheetRadius); in GetSheetTypeWithAuto() 1840 clipPath = GetBottomStyleSheetClipPath(sheetSize, sheetRadius); in GetSheetTypeWithAuto() 1844 path->SetValue(clipPath); in GetSheetTypeWithAuto()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_canvas_node_test.cpp | 3395 std::shared_ptr<RSPath> clipPath = RSPath::CreateRSPath(); in HWTEST_F() local 3396 canvasNode->SetClipBounds(clipPath); in HWTEST_F() 3397 EXPECT_TRUE(canvasNode->GetStagingProperties().GetClipBounds() == clipPath); in HWTEST_F()
|
H A D | rs_node_test.cpp | 4068 std::shared_ptr<RSPath> clipPath = RSPath::CreateRSPath(); in HWTEST_F() local 4069 rsNode->SetClipBounds(clipPath); in HWTEST_F() 4070 EXPECT_TRUE(rsNode->GetStagingProperties().GetClipBounds() == clipPath); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 1550 if (clipPathStyle.IsValid() && clipPathStyle.clipPath != nullptr) { in UpdateBoxComponent() 1551 boxComponent_->SetClipPath(clipPathStyle.clipPath); in UpdateBoxComponent()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_canvas.cpp | 965 skCanvas_->clipPath(skPathImpl->GetPath(), clipOp, doAntiAlias); in ClipPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_offscreen_canvas.cpp | 344 skCanvas_->clipPath(skPath_); in Clip() 1883 skCanvas_->clipPath(skPath2d_); in Path2DClip()
|
H A D | rosen_render_custom_paint.cpp | 1882 skCanvas_->clipPath(skPath2d_); in Path2DClip() 1887 skCanvas_->clipPath(skPath_); in Clip()
|