title: NSImage Deprecated method: setFlipped replacement
body: <p>In the docs, <a href="https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSImage_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#jumpTo_17" rel="nofollow">https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSImage_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#jumpTo_17</a></p>
  
  <p>It says <code>setFlipped</code> should be replaced with <code>drawInRect</code> -- but after looking through several examples and many failed attempts, I can't get my image to draw flipped using the arguments that are passed into <code>drawInRect</code></p>
  
  <p>Does anybody have experience, or know how to flip an image with the <code>drawInRect</code> method?  Or is there a different way?</p>
  
  <p>Thanks in advance!</p>