Patent ID: 9007398
Filing Date: 2015-04-14
Classification: G06T

Abstract:
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.