Lines Matching refs:dst

811     // 2. Call OH_Drawing_RectCreate to create a rectangle object dst
812 OH_Drawing_Rect *dst = OH_Drawing_RectCreate(0, 0, 0, 0);
821 // 7. Call OH_Drawing_RectCopy to copy the source rectangle object src to the destination rectangle object dst
822 OH_Drawing_RectCopy(src, dst);
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);
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);
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);
835 // 11. Call OH_Drawing_RectGetBottom to get the y-coordinate of the bottom-right corner of dst, which should be the
837 float bottom = OH_Drawing_RectGetBottom(dst);
843 // 14. Call OH_Drawing_RectGetLeft to get the x-coordinate of the top-left corner of dst, which should be the same
844 // as the previous value (indicating that the modification in src does not affect the result in dst)
845 left = OH_Drawing_RectGetLeft(dst);
847 // 15. Call OH_Drawing_RectGetTop to get the y-coordinate of the top-left corner of dst, which should be the same as
848 // the previous value (indicating that the modification in src does not affect the result in dst)
849 top = OH_Drawing_RectGetTop(dst);
853 OH_Drawing_RectDestroy(dst);
867 // 2. Call OH_Drawing_RectCreate to create a rectangle object dst
868 OH_Drawing_Rect *dst = OH_Drawing_RectCreate(0, 0, 0, 0);
871 OH_Drawing_RectCopy(nullptr, dst);
879 OH_Drawing_RectDestroy(dst);