On 18 Jul 2007, at 4:01 PM, Adam R. Maxwell wrote:

>
> On Jul 18, 2007, at 01:36, Christiaan Hofman wrote:
>
>>
>> On 18 Jul 2007, at 3:44 AM, Adam R. Maxwell wrote:
>>
>>>
>>> On Jul 17, 2007, at 10:09, Christiaan Hofman wrote:
>>>
>>>> But the whole point /is/ to change the page /before/ doing the
>>>> animation. Otherwise there is nothing to animate: it needs to have
>>>> an
>>>> image of both the state before and after, and only after that can
>>>> there be an animation.
>>>
>>> Yeah, even I realize(d) that :).  Getting bitmap imagereps of the
>>> pages might work as well (unless presentation mode allows zooming?).
>>>
>>
>> I tried to work with bitmaps of the pages. But they are of lower
>> quality (even with the highest settings), which looks ugly.
>
> Thinking about this a bit more, the quality issue is unexpected.  For
> the sake of my own curiosity: did you create a bitmap sized to the
> screen height in screen coordinates?  I think using boundsForBox: as
> in the present category method would be problematic in this case.
>

Well, that was one problem. A bitmap of the page gives it unscaled,  
so you have to scale the bitmap. And this loses quality. I don't know  
how to get a bitmap for a scaled page. Moreover there is an issue of  
cropping and placing the image. If you just take a bitmap f the view  
everything is immediately set correctly.

>> Moreover,
>> some animations go outside the page range (such as Page Curl and
>> Ripple).
>
> You mean when drawing, or do you pass a bitmap that's larger than the
> page to those transitions?
>

The animation images are larger than the page, not the initial/target  
images.

>> And the CG animations work on the whole window
>
> Which reminds me...are you checking for NULL function pointers on any
> of those calls?  Apple's Quartz people really discourage using their
> SPI.
>
> -- adam

No, but  we probably should. How should this be checked? Just  
comparing &CGSNewTransition etc to NULL?

Christiaan



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
skim-app-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to