Lines Matching refs:left
61 // 3. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of rect
63 // 4. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect
122 // 3. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of rect
124 // 4. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect
172 * @tc.desc: Test for setting and getting the left coordinate of a rectangle with normal parameters.
180 // 2. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of rect
182 // 3. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of rect, Returns the value set
184 float left = OH_Drawing_RectGetLeft(rect);
185 EXPECT_TRUE(IsScalarAlmostEqual(left, 100));
193 * @tc.desc: Test for setting the left coordinate of a rectangle with NULL parameters.
214 * @tc.desc: Test for setting the left coordinate of a rectangle with abnormal parameters.
224 // 3. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of rect, Returns the value set
226 float left = OH_Drawing_RectGetLeft(rect);
227 EXPECT_TRUE(IsScalarAlmostEqual(left, 100));
235 * @tc.desc: Test for repeatedly setting and getting the left coordinate of a rectangle.
244 float left = OH_Drawing_RectGetLeft(rect);
245 EXPECT_TRUE(IsScalarAlmostEqual(left, i * 10));
261 // 2. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect
263 // 3. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect, Returns the value set in
305 // 3. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect, Returns the value set in
324 // 2. Loop to call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect 10 times (each time
328 // 3. Loop to call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect 10 times, Each
333 // 3. Loop to call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect 10 times, Each time
337 // 3. Loop to call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect 10 times, Each
527 * @tc.desc: Test for setting and getting the left coordinate of a rectangle with normal parameters.
535 // 2. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of rect
537 // 3. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of rect
538 float left = OH_Drawing_RectGetLeft(rect);
539 EXPECT_TRUE(IsScalarAlmostEqual(left, 100));
547 * @tc.desc: Test for getting the left coordinate of a rectangle with NULL parameters.
573 // 2. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect
575 // 3. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect
690 // 2. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of rect
692 // 3. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of rect
699 // y-coordinate of the bottom-right corner and the y-coordinate of the top-left corner
736 // 2. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner
738 // 3. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner
745 // x-coordinate of the bottom-right corner and the x-coordinate of the top-left corner
784 // 2. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner
786 // 3. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner
793 // x-coordinate of the bottom-right corner and the x-coordinate of the top-left corner
813 // 3. Call OH_Drawing_RectSetLeft to set the x-coordinate of the top-left corner of src
815 // 4. Call OH_Drawing_RectSetTop to set the y-coordinate of the top-left corner of src
823 // 8. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of dst, which should be the same as
825 float left = OH_Drawing_RectGetLeft(dst);
826 EXPECT_TRUE(IsScalarAlmostEqual(left, 100));
827 // 9. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of dst, which should be the same as
839 // 12. Call OH_Drawing_RectSetLeft to modify the x-coordinate of the top-left corner of src
841 // 13. Call OH_Drawing_RectSetTop to modify the y-coordinate of the top-left corner of src
843 // 14. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of dst, which should be the same
845 left = OH_Drawing_RectGetLeft(dst);
846 EXPECT_TRUE(IsScalarAlmostEqual(left, 100));
847 // 15. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of dst, which should be the same as