Searched refs:pen2 (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | points.cpp | 61 OH_Drawing_Pen* pen2 = OH_Drawing_PenCreate(); in OnTestFunction() local 66 OH_Drawing_PenSetColor(pen2, DRAW_COLORBLUE); in OnTestFunction() 70 OH_Drawing_PenSetCap(pen2, LINE_ROUND_CAP); in OnTestFunction() 71 OH_Drawing_PenSetWidth(pen2, 6); // 6 画笔pen2的宽度 in OnTestFunction() 84 OH_Drawing_CanvasAttachPen(canvas, pen2); in OnTestFunction() 93 OH_Drawing_PenDestroy(pen2); in OnTestFunction()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | pen_test.cpp | 775 Pen pen2 = Pen(255); in HWTEST_F() local 776 EXPECT_FALSE(pen1 == pen2); in HWTEST_F() 789 Pen pen2 = pen1; in HWTEST_F() local 790 EXPECT_TRUE(pen1 == pen2); in HWTEST_F() 810 Pen pen2 = pen1; in HWTEST_F() local 811 EXPECT_TRUE(pen1 == pen2); in HWTEST_F() 812 pen2.SetLooper(nullptr); in HWTEST_F() 813 EXPECT_TRUE(pen1 != pen2); in HWTEST_F() 826 Pen pen2 = Pen(255); in HWTEST_F() local 827 EXPECT_TRUE(pen1 != pen2); in HWTEST_F() 840 Pen pen2 = Pen(0); HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_pen_test.cpp | 96 OH_Drawing_Pen* pen2 = OH_Drawing_PenCreate(); in HWTEST_F() local 97 OH_Drawing_PenSetColor(pen2, OH_Drawing_ColorSetArgb(0xFF, 0xFF, 0x00, 0x00)); in HWTEST_F() 98 EXPECT_EQ(OH_Drawing_PenGetColor(pen2), 0xFFFF0000); in HWTEST_F() 99 OH_Drawing_PenDestroy(pen2); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_property_drawable_bounds_geometry_test.cpp | 2062 Drawing::Pen pen2; in HWTEST_F() local 2063 drawable = std::make_shared<RSBorderPathDrawable>(std::move(brush2), std::move(pen2), properties, false); in HWTEST_F()
|
Completed in 6 milliseconds