Home
last modified time | relevance | path

Searched refs:ApplyLineStyle (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp327 bool RSBorder::ApplyLineStyle(Drawing::Pen& pen, int borderIdx, float length) const in ApplyLineStyle() function in OHOS::Rosen::RSBorder
372 if (ApplyLineStyle(pen, RSBorder::LEFT, rect.height_)) { in PaintFourLine()
380 if (ApplyLineStyle(pen, RSBorder::RIGHT, rect.height_)) { in PaintFourLine()
389 if (ApplyLineStyle(pen, RSBorder::TOP, rect.width_)) { in PaintFourLine()
397 if (ApplyLineStyle(pen, RSBorder::BOTTOM, rect.width_)) { in PaintFourLine()
497 ApplyLineStyle(pen, idx, width); in DrawBorderImpl()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_border.h102 bool ApplyLineStyle(Drawing::Pen& pen, int borderIdx, float length) const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_border_test.cpp485 EXPECT_FALSE(border->ApplyLineStyle(pen, 0, 1.f));
488 EXPECT_FALSE(border->ApplyLineStyle(pen, 0, 1.f));
491 EXPECT_TRUE(border->ApplyLineStyle(pen, 0, 1.f));