Tuesday, October 16, 2012

CoreGraphics, Patterns and Resolution Independence

Marcel Weiher:

With all the graphics specified using pure geometry, CoreGraphics can now do its thing and automatically handle varying device resolutions, wether it’s a retina display or a zoomable interface or even print, all without ever having to deal with the different resolutions in code. Although I haven’t tested it, the code should also use less memory, because it doesn’t create potentially large temporary bitmaps, and for the cherry on top it’s also a fraction of the code.

It’s tempting to rewrite my graphics code in his MPWDrawingContext style.

Comments RSS · Twitter

Leave a Comment