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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to