Lines Matching refs:top

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
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
224 // 3. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of rect, Returns the value set
253 * @tc.desc: Test for setting and getting the top coordinate of a rectangle with normal parameters.
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
265 float top = OH_Drawing_RectGetTop(rect);
266 EXPECT_TRUE(IsScalarAlmostEqual(top, 100));
274 * @tc.desc: Test for setting the top coordinate of a rectangle with NULL parameters.
295 * @tc.desc: Test for setting the top coordinate of a rectangle with abnormal parameters.
305 // 3. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of rect, Returns the value set in
307 float top = OH_Drawing_RectGetTop(rect);
308 EXPECT_TRUE(IsScalarAlmostEqual(top, 100));
316 * @tc.desc: Test for repeatedly setting and getting the top coordinate of a rectangle.
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
330 float top = OH_Drawing_RectGetTop(rect);
331 EXPECT_TRUE(IsScalarAlmostEqual(top, i * 10));
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
339 float top = OH_Drawing_RectGetTop(rect);
340 EXPECT_TRUE(IsScalarAlmostEqual(top, 10));
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
565 * @tc.desc: Test for setting and getting the top coordinate of a rectangle with normal 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
576 float top = OH_Drawing_RectGetTop(rect);
577 EXPECT_TRUE(IsScalarAlmostEqual(top, 100));
585 * @tc.desc: Test for getting the top coordinate of a rectangle with NULL parameters.
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
827 // 9. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of dst, which should be the same as
829 float top = OH_Drawing_RectGetTop(dst);
830 EXPECT_TRUE(IsScalarAlmostEqual(top, 100));
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
847 // 15. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of dst, which should be the same as
849 top = OH_Drawing_RectGetTop(dst);
850 EXPECT_TRUE(IsScalarAlmostEqual(top, 100));