Le 28 janv. 2010 à 08:43, K.Darcy Otto a écrit : > NSRect rect = NSRectFromCGRect([hitLayer frame]); > float width = rect.size.width; > > That is, it returns a width, but not the width in the current window > coordinates. Any ideas? Thanks.
What do you mean by "not the width in the current window coordinates"? By definition, a width is coordinate independent, as long as your underlying metric space remains the same (thanks to Einstein). Vincent _______________________________________________ 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 arch...@mail-archive.com