Lines Matching refs:brush
53 * @tc.desc: test for create brush and destroy brush.
60 OH_Drawing_Brush* brush = OH_Drawing_BrushCreate();
61 EXPECT_EQ(brush == nullptr, false);
62 OH_Drawing_BrushDestroy(brush);
67 * @tc.desc: test for the set methods of brush.
94 OH_Drawing_Brush* brush = OH_Drawing_BrushCreate();
95 EXPECT_NE(brush, nullptr);
96 OH_Drawing_BrushSetBlendMode(brush, OH_Drawing_BlendMode::BLEND_MODE_CLEAR);
101 * @tc.desc: test for the reset methods of brush.
124 * @tc.desc: gets the filter from a brush.
131 OH_Drawing_Brush* brush = OH_Drawing_BrushCreate();
132 EXPECT_NE(brush, nullptr);
147 OH_Drawing_BrushSetFilter(brush, cFilter_);
148 OH_Drawing_BrushGetFilter(brush, tmpFilter_);
156 OH_Drawing_BrushDestroy(brush);
160 * @tc.desc: gets the filter from a brush.
174 OH_Drawing_Brush* brush = OH_Drawing_BrushCreate();
175 EXPECT_NE(brush, nullptr);
177 OH_Drawing_BrushSetShadowLayer(brush, nullptr);
178 OH_Drawing_BrushSetShadowLayer(brush, shadowLayer);
180 OH_Drawing_BrushDestroy(brush);