Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 - 25 of 26) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_paint_method.cpp32 auto clipPath = props->GetClipPath().value_or(""); in GetContentDrawFunction() local
33 if (clipPath == "") { in GetContentDrawFunction()
37 path->SetValue(clipPath); in GetContentDrawFunction()
H A Dmenu_pattern.cpp1419 auto clipPath = menuLayoutAlgorithm->GetClipPath(); in UpdateClipPath() local
1424 paintProperty->UpdateClipPath(clipPath); in UpdateClipPath()
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_node.cpp103 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 Dsvg_node.cpp467 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 Dshape_model_impl.cpp95 auto clipPath = AceType::MakeRefPtr<ClipPath>(); in InitBox() local
96 clipPath->SetGeometryBoxType(GeometryBoxType::BORDER_BOX); in InitBox()
97 box->SetClipPath(clipPath); in InitBox()
H A Dview_abstract_model_impl.cpp907 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 Dmoon_progress_modifier.cpp224 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 Dbubble_paint_method.h83 void SetClipPath(const std::string& clipPath) in SetClipPath() argument
85 clipPath_ = clipPath; in SetClipPath()
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Dbox_base_component.h265 void SetClipPath(const RefPtr<ClipPath>& clipPath) in SetClipPath() argument
267 clipPath_ = clipPath; in SetClipPath()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.cpp532 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 Dstyle.h141 RefPtr<ClipPath> clipPath; member
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp528 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 Dsk_image_chain.cpp254 canvas_->clipPath(*path_, true); in ApplyClipping()
/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drosen_render_tip.cpp140 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 Drender_service_client_transition_demo.cpp75 context.canvas->clipPath(path);
147 context.canvas->clipPath(path);
/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.cpp222 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 Dinspector_composed_element.cpp951 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 Drosen_decoration_painter.cpp2452 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 Dsheet_presentation_pattern.cpp1830 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 Drs_canvas_node_test.cpp3395 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 Drs_node_test.cpp4068 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 Ddom_node.cpp1550 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 Dskia_canvas.cpp965 skCanvas_->clipPath(skPathImpl->GetPath(), clipOp, doAntiAlias); in ClipPath()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.cpp344 skCanvas_->clipPath(skPath_); in Clip()
1883 skCanvas_->clipPath(skPath2d_); in Path2DClip()
H A Drosen_render_custom_paint.cpp1882 skCanvas_->clipPath(skPath2d_); in Path2DClip()
1887 skCanvas_->clipPath(skPath_); in Clip()

Completed in 57 milliseconds

12