Re: window rotation
Re: window rotation
- Subject: Re: window rotation
- From: Mike Paquette <email@hidden>
- Date: Fri, 14 May 2004 08:38:45 -0700
On May 13, 2004, at 5:21 PM, John Stiles wrote:
In my experience, windows that are shrunk or distorted via Quartz are
still "functional;" i.e. you can type into a TextEdit window that's
been scaled/distorted. However, click positions are not translated
properly; the click registers as if the window were still flat and
1:1, which means that some window locations can no longer be clicked
at all and it's generally frustrating/difficult to work with for more
than 5 or 10 seconds.
Mouse clicks and other events will be translated into the window's
coordinate space for all invertible transformations, such as affine
transformations.
In the particular case you cite, killing the Dock has left the window
with a mesh-warp transformation applied to it. Mesh warp
transformations are not invertible, and there is not a reliable way
translate from a global coordinate space back to a precise window
coordinate. The window coordinate can be approximated, but at high
degrees of deformation, a click can easily miss the desired target
coordinates, so it's still not usable.
The system should probably remove mesh warps and similar effects when
the effect originator goes away.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.