开发者

Get intersected Rect!

开发者 https://www.devze.com 2023-02-06 12:32 出处:网络
I found the following function CGRectIntersectsRect (frame1,frame2) which returns true if they are intersected.

I found the following function CGRectIntersectsRect (frame1,frame2) which returns true if they are intersected. Is there an开发者_运维问答other function that returns the intersected Rect?


CGRectIntersection Returns the intersection of two rectangles.

CGRect CGRectIntersection (
   CGRect r1,
   CGRect r2
);
0

精彩评论

暂无评论...
验证码 换一张
取 消