CGScratch icon indicating copy to clipboard operation
CGScratch copied to clipboard

Using a custom scratcher imager gets flipped vertically

Open rnselv1 opened this issue 13 years ago • 2 comments

When I tried to use a custom scratcher image, it rendered vertically flipped. Can you point me to resove this plz? Also, no updates on the support for 3.1.2 OS yet.

rnselv1 avatar Mar 03 '11 16:03 rnselv1

Ah yes, this is due to the co-ordinate differences between CoreGraphics and UIKit. Should be a quick fix.

oyiptong avatar Mar 04 '11 21:03 oyiptong

Here is a question on stackoverflow http://stackoverflow.com/questions/2695262/how-to-compensate-the-flipped-coordinate-system-of-core-graphics-for-easy-drawing

As far as the code in the example is concerned, I'll patch it.

oyiptong avatar Mar 04 '11 21:03 oyiptong