Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessibility APIs sensitive to whether an NSView isFlipped



on 2006-08-30 12:31 PM, Mike Engber at email@hidden wrote:

> The only "automatic" adjusting going on is that the bottom-left
> relative screen coordinate your return is converted to a top-left
> relative screen coordinate - because the AX api's deal in top-left
> relative coords. An the reverse happens when the AX api's send
> coordinates to you.

In reading the documentation about this a few weeks ago, I concluded that
what the accessibility API actually treats as the origin is the opposite of
what the documentation says it does -- but I can't remember which corner was
which (I think the relevant doc says that the accessibility API treats the
bottom left corner as the origin). I'll try to find time to pin this down
and file a bug against the documentation.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/accessibility-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Accessibility APIs sensitive to whether an NSView isFlipped (From: Mike Engber <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.