Re: Using custom inputExtent for Core Animation transition

Christiaan Hofman <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Sep 21, 2009, at 22:49, Matt Neuburg wrote:

> On Sun, 20 Sep 2009 22:53:10 +0200, Christiaan Hofman <[email protected] 
> >
> said:
>> Ah, you mean you used -[NSBitmapImageRep CGImage] and didn't know  
>> that
>> CGImageRef does not retain the underlying bitmap on 10.5?
>
> Yes, that's exactly what I mean. Fixed now, though! :)
>
>> Still wonder
>> why CA on 10.5 does not finish my transitions though. Being slow is
>> acceptable, just stopping halfway is a bug IMHO.
>
> Hard to say without seeing the code. My transitions look fine on my  
> 10.5
> machine (a MacBook) now that they aren't crashing. But perhaps it  
> depends on
> the details (both of the transition and of the machine). m.
>
> -- 
> matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.tidbits.com/matt/default.html#applescriptthing

The code is available at <http://skim-app.svn.sourceforge.net/viewvc/skim-app/trunk/SKTransitionController.m?revision=5754 
 >, in particular the method -animateCoreImageForRect:forward: and - 
animateImage:usingFilter:duration:.

Christiaan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.