Lines Matching refs:alpha
357 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha
359 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha
360 uint8_t alpha = OH_Drawing_PenGetAlpha(pen);
361 EXPECT_EQ(alpha, 0x00);
394 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha
396 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha
397 uint8_t alpha = OH_Drawing_PenGetAlpha(pen);
398 EXPECT_EQ(alpha, 0x00);
414 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha with nullptr as the first parameter
416 // 3. Set the alpha value for the pen using OH_Drawing_PenSetAlpha with 0x00 as the second parameter
436 uint8_t alpha = OH_Drawing_PenGetAlpha(pen);
437 EXPECT_EQ(static_cast<uint8_t>(-1), alpha);