• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: More CALayer Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: More CALayer Questions
      • From: Bill Dudney <email@hidden>
    • Re: More CALayer Questions
      • From: "douglas a. welton" <email@hidden>
References: 
 >More CALayer Questions (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Releasing objects causes BAD_ACCESS
  • Next by Date: Re: garbage collection and NSConnection
  • Previous by thread: Re: More CALayer Questions
  • Next by thread: Re: More CALayer Questions
  • Index(es):
    • Date
    • Thread