Re: More CALayer Questions
Re: More CALayer Questions
- Subject: Re: More CALayer Questions
- From: Gordon Apple <email@hidden>
- Date: Mon, 07 Jul 2008 17:05:19 -0500
OK, a little update. Through watching a number of parameters, a lot of
experimentation, and probably blind a** luck, I've managed to get rescaling
to sort of work. However, to do editing of objects (e.g., dragging them
around), I had to call "removeAllAnimations". When I change the scale, the
scale does change, but the layer does not change to the correct position
until I resize the window -- then it snaps into correct position. Resizing
the window results in the drawing disappearing and reappearing, mostly
reappearing when downsizing. It also disappears when scrolled, until the
window is resized. I assume this has something to do with re-caching the
layer. How do I fix that?
I need to get this working right before I go back to stacking layers.
BTW, I've preordered (July 17) the upcoming book on animation, but I
have no idea whether or not it will have anything useful for these CALayer
issues.
> I'm suffering from extreme frustration with CALayers. I obviously don't
> understand the documentation available and there is a lot that is not
> documented, especially since the Views guide has not been updated to include
> CALayers. Also, as others have observed, the "flipped" paremeter in
> [NSGraphicsContext graphicsContextWithGraphicsPort:ctx flipped:YES] simply
> does not work.
>
.......
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden