Re: Image within a custom NSView gets blurrier as I scale
Re: Image within a custom NSView gets blurrier as I scale
- Subject: Re: Image within a custom NSView gets blurrier as I scale
- From: Andreas Mayer <email@hidden>
- Date: Tue, 11 Apr 2006 23:23:02 +0200
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:
This email sent to email@hidden