Theocacao
Leopard
Design Element
Comment on "Cocoa Sample Code: SimplePicture"
by Coriander — Oct 04
Here are a couple more notes.

The effect can be greater by using NSImageInterpolationNone instead of NSImageInterpolationLow.

Also, remember to refresh the view at the end of live resizing to bring it back to high image quality:

- (void)viewDidEndLiveResize { [super viewDidEndLiveResize]; [self setNeedsDisplay:YES]; }
Back to "Cocoa Sample Code: SimplePicture"
Design Element

Copyright © Scott Stevenson 2004-2015