Lines Matching refs:right
65 // 5. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect
67 // 6. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect
126 // 5. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect
128 // 6. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect
349 * @tc.desc: Test for setting and getting the right coordinate of a rectangle with normal parameters.
357 // 2. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect
359 // 3. Call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect, Returns the value set
361 float right = OH_Drawing_RectGetRight(rect);
362 EXPECT_TRUE(IsScalarAlmostEqual(right, 300));
370 * @tc.desc: Test for setting the right coordinate of a rectangle with NULL parameters.
391 * @tc.desc: Test for setting the right coordinate of a rectangle with abnormal parameters.
401 // 3. Call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect, Returns the value set
403 float right = OH_Drawing_RectGetRight(rect);
404 EXPECT_TRUE(IsScalarAlmostEqual(right, 100));
412 * @tc.desc: Test for repeatedly setting and getting the right coordinate of a rectangle.
420 // 2. Loop to call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect 10 times (each
424 // 3. Loop to call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect 10 times,
426 float right = OH_Drawing_RectGetRight(rect);
427 EXPECT_TRUE(IsScalarAlmostEqual(right, i * 10));
429 // 3. Loop to call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect 10 times, Each
433 // 3. Loop to call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect 10 times,
435 float right = OH_Drawing_RectGetRight(rect);
436 EXPECT_TRUE(IsScalarAlmostEqual(right, 10));
453 // 2. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect
455 // 3. Call OH_Drawing_RectGetBottom to get the y-coordinate of the bottom-right corner of rect, 3. Returns the value
497 // 3. Call OH_Drawing_RectGetBottom to get the y-coordinate of the bottom-right corner of rect
603 * @tc.desc: Test for setting and getting the right coordinate of a rectangle with normal parameters.
611 // 2. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect
613 // 3. Call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect
614 float right = OH_Drawing_RectGetRight(rect);
615 EXPECT_TRUE(IsScalarAlmostEqual(right, 300));
623 * @tc.desc: Test for getting the right coordinate of a rectangle with NULL parameters.
650 // 2. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect
652 // 3. Call OH_Drawing_RectGetBottom to get the y-coordinate of the bottom-right corner of rect, the return value
694 // 4. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect
696 // 5. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect
699 // y-coordinate of the bottom-right corner and the y-coordinate of the top-left corner
740 // 4. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner
742 // 5. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner
745 // x-coordinate of the bottom-right corner and the x-coordinate of the top-left corner
788 // 4. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner
790 // 5. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner
793 // x-coordinate of the bottom-right corner and the x-coordinate of the top-left corner
817 // 5. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of src
819 // 6. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of src
831 // 10. Call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of dst, which should be the
833 float right = OH_Drawing_RectGetRight(dst);
834 EXPECT_TRUE(IsScalarAlmostEqual(right, 300));
835 // 11. Call OH_Drawing_RectGetBottom to get the y-coordinate of the bottom-right corner of dst, which should be the