Home
last modified time | relevance | path

Searched refs:clipState (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_base_declaration.h39 ClipState clipState; member
53 clipState.Inherit(parent.clipState); in InheritFromUse()
67 clipState.Inherit(parent.clipState); in Inherit()
143 return attribute.clipState.GetHref(); in GetClipPathHref()
161 return attribute.clipState; in GetClipState()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_polygon.cpp50 if (attributes_.clipState.IsEvenodd()) { in AsPath()
68 if (attributes_.clipState.IsEvenodd()) { in AsPath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dsvg_paint_state.h541 void Inherit(const ClipState& clipState) in Inherit() argument
544 clipRule_ = clipState.GetClipRule(); in Inherit()
547 href_ = clipState.GetHref(); in Inherit()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/svg/
H A Dparse_test_ng.cpp1935 EXPECT_EQ(svgNode->GetBaseAttributes().clipState.GetHref(), "testClip");
1938 EXPECT_NE(svgNode->GetBaseAttributes().clipState.GetHref(), "testClipFaild");
1941 EXPECT_EQ(svgNode->GetBaseAttributes().clipState.GetHref(), "testClipPath");
1944 EXPECT_NE(svgNode->GetBaseAttributes().clipState.GetHref(), "testClipPathFaild");
1947 EXPECT_EQ(svgNode->GetBaseAttributes().clipState.GetClipRule(), "evenodd");
1950 EXPECT_EQ(svgNode->GetBaseAttributes().clipState.GetClipRule(), "evenodd1");