Hi,
I'm working on a small image viewer and I would like to know what's
the
best way to implement a fade transition between two images. I would
prefer to use a method compatible with both Tiger and Panther, but I
don't know where to start!
See NSImage's -dissolveToPoint:fraction: and -
dissolveToPoint:fromRect:fraction: methods. Draw the first image,
then draw the second image over it in a loop, while decreasing the
fraction for the first image and increasing it for the second.
HTH,
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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