Theocacao
Leopard
Design Element
Comment on "Proportional Scaling with NSImage"
by Scott Stevenson — Sep 30
@John C. Randolph: To save yourself a function call, change:
NSPoint thumbnailPoint = NSMakePoint(0,0)


True. Fixed inline. I'll fix it in the download at some point, as well. Thanks.

For the sake of accuracy, though, it's worth reminding everyone else that NSMakePoint is a static inline, so there's no function call per se.
Back to "Proportional Scaling with NSImage"
Design Element

Copyright © Scott Stevenson 2004-2015