Lines Matching defs:width
474 // 2. Set the pen width using OH_Drawing_PenSetWidth
476 // 3. Get the pen width using OH_Drawing_PenGetWidth
477 float width = OH_Drawing_PenGetWidth(pen);
478 EXPECT_EQ(width, 1.0);
511 // 2. Set the pen width using OH_Drawing_PenSetWidth
512 float width = 4096.0;
513 OH_Drawing_PenSetWidth(pen, width);
514 // 3. Get the pen width using OH_Drawing_PenGetWidth
516 EXPECT_EQ(width, getWidth);
532 // 2. Set the pen width using OH_Drawing_PenSetWidth
534 // 3. Get the pen width using OH_Drawing_PenGetWidth
535 float width = OH_Drawing_PenGetWidth(pen);
536 EXPECT_EQ(width, 1.0);
571 // 2. Set the pen width using OH_Drawing_PenSetWidth with an integer or character data as the second parameter
572 int width = 1;
573 OH_Drawing_PenSetWidth(pen, width);
574 // 3. Get the pen width using OH_Drawing_PenGetWidth
592 // 2. Loop through 10 times and set the pen width using OH_Drawing_PenSetWidth
596 // 3. Loop through 10 times and get the pen width using OH_Drawing_PenGetWidth
598 float width = OH_Drawing_PenGetWidth(pen);
599 EXPECT_EQ(width, 1.0);
616 // 2. Loop through 10 times and set the pen width using OH_Drawing_PenSetWidth
620 // 3. Loop through 10 times and get the pen width using OH_Drawing_PenGetWidth
622 float width = OH_Drawing_PenGetWidth(pen);
623 EXPECT_EQ(width, 4096.0);