Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CGContextTranslateCTM (context, 0, self.bounds.size.height);
  2. CGContextScaleCTM (context, 1.0, -1.0);
  3.  
  4. CGContextSaveGState(context);
  5. ... drawing routines
  6.  
  7. CGContextTranslateCTM (context, 0, self.bounds.size.height);
  8. CGContextScaleCTM (context, 1.0, -1.0);
  9.    
  10. CGContextRestoreGState(context);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement