Totally awesome!
Thank you!
On Dec 2, 2008, at 5:11 PM, Mike Abdullah wrote:
You'll want to subclass NSImageView and implement your own -
drawRect: method. Call super's implementation, but beforehand, do
something like:
[[NSGraphicsContext currentContext] set setImageInterpolation:
NSImageInterpolationNone];
On 2 Dec 2008, at 23:45, Jonathon Kuo wrote:
I have some tiny images (4x3, etc) that I'm displaying in a large
NSImageView. I set the view with setImageScaling:NSScaleToFit. This
works, but instead of getting well-defined block 'pixels', I get
sort of a 'shower-door' gradient effect within each pixel block.
<Picture 59.png> <Picture 58.png>
How can I set the NSImageView to disable this effect?
OSX 10.5.5
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]