[Adium-devl] [Adium-svn] rev 21554 - branches/adium-1.1/Frameworks/AIUtilities Framework/Source trunk/Frameworks/AIUtilities Framework/Source

Peter Hosey boredzo at gmail.com
Wed Nov 7 17:24:45 UTC 2007


On Nov 07, 2007, at 09:05:47, Colin Barrett wrote:
> Is there a reason we aren't doing
>
> foo = [self copy]
> [foo setScalesWhenResized:YES]
> [foo setSize:newSize]
>
> Instead?

I believe so we can take advantage of NSImageInterpolationHigh. The  
interpolation method used by setSize: is not specified by NSImage's  
docs.

> Also, if we don't want to do that, what about forcing a cached  
> image rep to be created at full size (if one isn't present)?

You suggest drawing it into another image of the same size after  
creating it?

That's no less lazy than what we currently have, which works. What's  
the advantage?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20071107/870d3f42/attachment.sig>


More information about the devel mailing list