• 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: Core Animation geometry, layer hosting, and resolution independence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation geometry, layer hosting, and resolution independence


  • Subject: Re: Core Animation geometry, layer hosting, and resolution independence
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 12 Mar 2008 15:26:55 -0700


On 12 Mar '08, at 3:06 PM, Nathan Vander Wilt wrote:

When one draws a rectangle in a CALayer delegate, and
the -drawLayer:: concatenates (and/or sets?) its own
transform before drawing, when the layer has a
transform, and the root parent layer has both a
transform and a sublayer transform, and the host
NSView has different bounds than frame, and there is
resolution independence / interface scaling.....*deep
breath*.....

This is starting to sound like "Fox In Socks"[1]: "When tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle. AND... When beetles battle beetles in a puddle paddle battle and the beetle battle puddle is a puddle in a bottle... ...they call this a tweetle beetle bottle puddle paddle battle muddle. AND... When beetles fight these battles in a bottle with their paddles and the bottle's on a poodle and the poodle's eating noodles... ...they call this a muddle puddle tweetle poodle beetle noodle bottle paddle battle."

Coordinate transformations give me fits, too. I've was having "fun" yesterday porting some of my code to an, uh, superficially very similar platform, whose coordinate system is for some reason upside- down (or is that right-side-up?) compared to AppKit's. :-P

—Jens

[1] http://ai.eecs.umich.edu/people/dreeves/Fox-In-Socks.txt

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Re: Core Animation geometry, layer hosting, and resolution independence (From: Nathan Vander Wilt <email@hidden>)

  • Prev by Date: Re: Deleting a folder
  • Next by Date: Re: warning: assignment from distinct Objective-C type
  • Previous by thread: Re: Core Animation geometry, layer hosting, and resolution independence
  • Next by thread: Deleting a folder
  • Index(es):
    • Date
    • Thread