Re: Accessibility APIs sensitive to whether an NSView isFlipped
Re: Accessibility APIs sensitive to whether an NSView isFlipped
- Subject: Re: Accessibility APIs sensitive to whether an NSView isFlipped
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 30 Aug 2006 16:33:57 -0400
- Thread-topic: 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:
This email sent to email@hidden