Method and system for redirection of transformed windows
First Claim
1. A method for determining whether an input message associated with an input location point belongs to a display window associated with an application, wherein the window has been transformed on the display by a transformation matrix, the method comprising:
- determining a bounding rectangle bounding the window transformed by the transformation matrix;
determining whether the input device point is within the bounding rectangle;
performing an inverse transformation on the input device location point if the input device point is within the bounding rectangle, wherein performing the inverse transformation results in a new frame region; and
performing a hit test on the new frame region.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and computer-readable media are disclosed for redirecting an input to or from an application via a transformed window on a display device while maintaining the transformed window transparent to the application. A window transformation application program interface coupled with a window manager comprises a desktop window manager that facilitates the transparency. The desktop window manager, through the transformation API incorporates a transformation matrix that is used to transform the window from the application on the display. A mouse (or other input device) hit testing routine is incorporated into the desktop window manager to map an input device point to the transformed window, perform an inverse transform on the input device point if it is associated with the transformed window, before sending an input device message associated with the input device point on to the application. In this way, the application need not be aware of the transformation.
49 Citations
20 Claims
-
1. A method for determining whether an input message associated with an input location point belongs to a display window associated with an application, wherein the window has been transformed on the display by a transformation matrix, the method comprising:
-
determining a bounding rectangle bounding the window transformed by the transformation matrix; determining whether the input device point is within the bounding rectangle; performing an inverse transformation on the input device location point if the input device point is within the bounding rectangle, wherein performing the inverse transformation results in a new frame region; and performing a hit test on the new frame region. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for redirecting an input device message from an input device to an application via a transformed window on a display, wherein the transformed window is an application window that has been transformed on the display by a transformation matrix, the method comprising:
-
receiving the input device message from the input device at an input device location point on the display; determining whether the location point is within the transformed window; if the location point is within the transformed window, performing an inverse transform on the location point into its logical coordinate system coordinates; performing a hit test on a new frame region in the logical coordinate system; and communicating the device message to the application. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system for maintaining an application window on a display that has been transformed by a transformation matrix into a transformed window transparent to an application that originated the application window, the system comprising:
-
a desktop window manager on a computer system which transforms a window transmitted by the application for display to a transformed window on the display; a redirection transform application interface coupled to the manager, wherein the redirection transform application performs an inverse transformation that results in a new frame region and performs hit detection on the new frame region; and an external input coupled to the desktop window manager, wherein messages to and from the application pass through the transform interface to and from the manager to maintain transparency between the transformed display window and the application. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer storage medium encoding a computer program of instructions for performing a method for redirecting an input device message from an input device to an application via a transformed window on a display, wherein the transformed window is an application window that has been transformed on the display by a transformation matrix, by a computer system, said method comprising:
determining a bounding rectangle bounding the window transformed by the transformation matrix; determining whether the input device point is within the bounding rectangle; and performing an inverse transformation on the input device location point if the input device point is within the bounding rectangle, wherein performing the inverse transformation results in a new frame region; and performing a hit test on the new frame region. - View Dependent Claims (18, 19, 20)
Specification