Home
last modified time | relevance | path

Searched refs:shapePath (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpen_test.cpp273 Path shapePath; in TestPenPathEffect() local
274 shapePath.MoveTo(0, 0); in TestPenPathEffect()
275 shapePath.LineTo(0, 20); in TestPenPathEffect()
276 shapePath.LineTo(20, 0); in TestPenPathEffect()
277 shapePath.Close(); in TestPenPathEffect()
279 pen.SetPathEffect(PathEffect::CreatePathDashEffect(shapePath, 20, 0, PathDashStyle::MORPH)); in TestPenPathEffect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp4549 auto shapePath = Rosen::RSPath::CreateRSPath(skPath); local
4551 auto prop = std::make_shared<RSProperty<std::shared_ptr<Rosen::RSPath>>>(shapePath);
4557 property->Set(shapePath);
4561 auto shapePath = Rosen::RSPath::CreateRSPath(rsPath); local
4563 auto prop = std::make_shared<RSProperty<std::shared_ptr<Rosen::RSPath>>>(shapePath);
4569 property->Set(shapePath);

Completed in 13 milliseconds