Rotated rectangle drawing
First Claim
1. A computer-implemented method for drawing an aligned rectangle or rotated rectangle on an electronic device, the method comprising:
- receiving, by one or more computing devices, a first user input at a first location of a movable indicator in a graphical user interface comprising an x-y axes;
determining, by one or more computing devices, whether the movable indicator has moved from the first location prior to receiving a second user input;
when the determination indicates that the indicator has moved from the first location to a second location prior to receiving the second user input, providing, for display, a rectangle based on coordinates of the first location and the second location and aligned to the x-y axes; and
when the determination indicates that the indicator has remained at the first location when receiving the second user input and prior to the indicator moving from the first location to the second location, providing, for display, a first rotated rectangle, based on coordinates of the first location and a third location of the indicator, which is rotated about the x-y axes based on an angle calculated from the first location and the second location.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods for drawing an aligned rectangle or rotated rectangle on an electronic device are provided. In one aspect, a method includes receiving a first user input at a first location of a movable indicator in a graphical user interface includes an x-y axes, and determining whether the movable indicator has moved from the first location prior to receiving a second user input. The method also includes providing, for display, a rectangle based on coordinates of the first location and the second location and aligned to the x-y axes. The method further includes providing, for display, a first rotated rectangle, based on coordinates of the first location and a third location of the indicator, which is rotated about the x-y axes based on an angle calculated from the first location and the second location. Systems, graphical user interfaces, and machine-readable media are also provided.
6 Citations
20 Claims
-
1. A computer-implemented method for drawing an aligned rectangle or rotated rectangle on an electronic device, the method comprising:
-
receiving, by one or more computing devices, a first user input at a first location of a movable indicator in a graphical user interface comprising an x-y axes; determining, by one or more computing devices, whether the movable indicator has moved from the first location prior to receiving a second user input; when the determination indicates that the indicator has moved from the first location to a second location prior to receiving the second user input, providing, for display, a rectangle based on coordinates of the first location and the second location and aligned to the x-y axes; and when the determination indicates that the indicator has remained at the first location when receiving the second user input and prior to the indicator moving from the first location to the second location, providing, for display, a first rotated rectangle, based on coordinates of the first location and a third location of the indicator, which is rotated about the x-y axes based on an angle calculated from the first location and the second location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for drawing an aligned rectangle or rotated rectangle on an electronic device, the system comprising:
-
a memory comprising instructions; and a processor configured to execute the instructions to; receive a first user input at a first location of a movable indicator in a graphical user interface comprising an x-y axes; determine whether the movable indicator has moved from the first location prior to receiving a second user input; when the determination indicates that the indicator has moved from the first location to a second location prior to receiving the second user input, provide, for display, a rectangle based on coordinates of the first location and the second location and aligned to the x-y axes; and when the determination indicates that the indicator has remained at the first location when receiving the second user input and prior to the indicator moving from the first location to the second location, provide, for display, a first rotated rectangle, based on coordinates of the first location and a third location of the indicator, wherein a third input is received at the third location, and wherein the first rotated rectangle is rotated about the x-y axes based on an angle calculated from the first location and the second location. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory machine-readable storage medium comprising machine-readable instructions for causing a processor to execute a method for drawing an aligned rectangle or rotated rectangle on an electronic device, comprising:
-
receiving a first user input at a first location of a movable indicator in a graphical user interface comprising an x-y axes; determining whether the movable indicator has moved from the first location prior to receiving a second user input; when the determination indicates that the indicator has moved from the first location to a second location prior to receiving the second user input, providing, for display, a rectangle based on coordinates of the first location and the second location and aligned to the x-y axes; and when the determination indicates that the indicator has remained at the first location when receiving the second user input, then; providing, for display, a first rotated rectangle, based on coordinates of the first location and a third location of the indicator, which is rotated about the x-y axes based on an angle calculated from the first location and the second location; receiving a fourth user input at a fourth location of the indicator; wherein a third input is received at the third location; and providing, for display, a second rotated rectangle, based on coordinates of the first location and a fourth location of the indicator, which is rotated about the x-y axes based on the angle calculated from the first location and second location, wherein the first user input and the third user input comprise pointing device-down actions, and the second user input and the fourth user input comprise pointing device-up actions. - View Dependent Claims (20)
-
Specification