开发者

Get intersected Rect!

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜