METHOD FOR OBJECT ROTATING BY UTILIZING COORDINATE AXIS RATIO AND DIFFERENCE
First Claim
1. A method for object rotating by utilizing coordinate axis ratio and difference comprising:
- performing a first determination step to determine whether or not two touching points are provided through a touch algorithm;
executing a capture motion to respectively capture Y-coordinate values and X-coordinate values of the two touching points on an X-axis and a Y-axis if the two touching points are provided, and executing a second determination step to determine whether one touching point of the two touching points is an axle center point and another touching point of the two touching points is a rotation point; and
executing a third determination step to determine a modulus for a variation of a ratio (a Y/X value) of the Y-coordinate value to the X-coordinate value of the rotation point or whether the rotation point and the axle center point are located on the X-axis or the Y-axis to perform an object left rotation motion or an object right rotation motion if the rotation point is displaced.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of display rotation by using axis ratio and difference is disclosed. The method includes: performing a first determination step to determine whether or not two touching points exist within an object shown in a screen by using a touch algorithm; if yes, capturing X-coordinate values and Y-coordinate values of the two touching points on an X-axis and a Y-axis respectively; performing a second determination step to determine the touching point with smaller Y-coordinate value as an axle center point and the another touching point with bigger Y-coordinate value as a rotation point; performing a third determination step after the rotation point shifts to rotate object leftward or rightward by using the modulus of the variation of the ratio of the Y-coordinate value to the X-coordinate value of the rotation point and whether the axle center point and the rotation point are located on the X-axis or Y-axis.
7 Citations
9 Claims
-
1. A method for object rotating by utilizing coordinate axis ratio and difference comprising:
-
performing a first determination step to determine whether or not two touching points are provided through a touch algorithm; executing a capture motion to respectively capture Y-coordinate values and X-coordinate values of the two touching points on an X-axis and a Y-axis if the two touching points are provided, and executing a second determination step to determine whether one touching point of the two touching points is an axle center point and another touching point of the two touching points is a rotation point; and executing a third determination step to determine a modulus for a variation of a ratio (a Y/X value) of the Y-coordinate value to the X-coordinate value of the rotation point or whether the rotation point and the axle center point are located on the X-axis or the Y-axis to perform an object left rotation motion or an object right rotation motion if the rotation point is displaced. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification