• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: window rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: window rotation
      • From: Sherm Pendley <email@hidden>
    • Re: window rotation
      • From: John Stiles <email@hidden>
References: 
 >window rotation (From: Claus Atzenbeck <email@hidden>)
 >Re: window rotation (From: Brent Gulanowski <email@hidden>)
 >Re: window rotation (From: Claus Atzenbeck <email@hidden>)
 >Re: window rotation (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Screen trash with some fonts
  • Next by Date: Re: Automate MS PowerPoint X using cocoa?
  • Previous by thread: Re: window rotation
  • Next by thread: Re: window rotation
  • Index(es):
    • Date
    • Thread