daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. Co-ordinates of the four points of a uiview which has been rotated
  2. CGPoint topLeft = view.bounds.origin;
  3. topLeft = [[view superview] convertPoint:topLeft fromView:view];
  4.  
  5. CGPoint topRight = CGPointMake(view.bounds.origin.x + view.bounds.width, view.bounds.origin.y);
  6. topRight = [[view superview] convertPoint:topRight fromView:view];
  7.  
  8. // ... likewise for the other points
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top