bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #11557] -hitTest: should check frame rotation.


From: anonymous
Subject: [bugs #11557] -hitTest: should check frame rotation.
Date: Mon, 28 Feb 2005 08:20:36 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12

Follow-up Comment #3, bugs #11557 (project gnustep):

It should be transformed first because if the frame is rotated
and you didn't check the hit point against the matrix, you will
never know if the point is in the rotated view or not.

_______________
___/\__________
__/__\_________
_/_Y__\________
_\____/________
__\__/_X_______
___\/__________
_______________

If the view (given a button) is rotated, we should transform X to Y or
the hitTest: will return incorrect result (out of frame). For a bit more
efficient, just check if the view is rotated or not so we don't need
to transfrom the point when not neccessary.


    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11557>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]