Lines Matching defs:width
728 * @tc.desc: Test for setting coordinates and getting the width of a rectangle with normal parameters.
744 // 6. Call OH_Drawing_RectGetWidth to get the width of the rectangle, which is the difference between the
746 float width = OH_Drawing_RectGetWidth(rect);
747 EXPECT_TRUE(IsScalarAlmostEqual(width, 200 - 0));
755 * @tc.desc: Test for getting the width of a rectangle with NULL parameters.
774 * @tc.desc: Test for setting coordinates and getting the width of a rectangle with normal parameters.
781 uint32_t width = 4096;
783 OH_Drawing_Rect *rect = OH_Drawing_RectCreate(0, 0, width, height);
789 OH_Drawing_RectSetRight(rect, width);
792 // 6. Call OH_Drawing_RectGetWidth to get the width of the rectangle, which is the difference between the
795 EXPECT_TRUE(IsScalarAlmostEqual(getWidth, width - 0));