Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image within a custom NSView gets blurrier as I scale




Am 11.04.2006 um 22:28 Uhr schrieb Frederick C. Lee:

What is the efficient (w/out loss of image resolution) way of scaling an image within a NSView (vs. NSImageView)?

Do not set the image's size; instead use

- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation: (NSCompositingOperation)op fraction:(float)delta

for compositing.


Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Image within a custom NSView gets blurrier as I scale (From: "Frederick C. Lee" <email@hidden>)
 >Re: Image within a custom NSView gets blurrier as I scale (From: "Corey O'Connor" <email@hidden>)
 >Re: Image within a custom NSView gets blurrier as I scale (From: "Frederick C. Lee" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.