Snapping of object features via dragging
AssigneeAdobe Systems Incorporated
InventorWilliam Amir Stone
Life of this patent
Estimating the term…
Abstract
Example systems and methods of performing a snapping operation in a graphical user interface are presented. In one example, a first user input indicating an initiation of a dragging operation in the graphical user interface is received, wherein the first user input indicates a first location. A source feature corresponding to a source object is determined based on the first location. Also received is a second user input during the dragging operation in the graphical user interface, in which the second user input indicates a current location. A current target feature corresponding to a current target object is determined based on the current location. The source feature corresponding to the source object is snapped to the current target feature corresponding to the current target object.
Claims21
1-20. (canceled)
A computer-implemented method, comprising:
- receiving, by a processor, a first user input indicating an initiation of a dragging operation in the graphical user interface, the first user input indicating a first location in the graphical user interface;
- evaluating, by the processor, respective distances between the first location and a plurality of source features in the graphical user interface;
- determining, by the processor, a source feature corresponding to a source object in response to the source feature having a shortest distance among the respective distances to the first location;
- receiving, by the processor, a second user input during the dragging operation in the graphical user interface, the second user input indicating a current location in the graphical user interface;
- determining, by the processor, a current target feature corresponding to a current target object based on the current location;
- and
- snapping, by the processor, the source feature corresponding to the source object to the current target feature corresponding to the current target object.
A computer-readable storage device, comprising instructions that, when executed by at least one processor of a machine, cause the machine to perform operations comprising:
- receiving a first user input indicating an initiation of a dragging operation in a graphical user interface, the first user input indicating a first location in the graphical user interface;
- evaluating respective distances between the first location and a plurality of source features in the graphical user interface;
- determining a source feature corresponding to a source object in response to the source feature having a shortest distance among the respective distances to the first location;
- receiving a second user input during the dragging operation in the graphical user interface, the second user input indicating a current location in the graphical user interface;
- determining a current target feature corresponding to a current target object based on the current location;
- and
- snapping the source feature corresponding to the source object to the current target feature corresponding to the current target object.
A system, comprising:
- a display device configured to display a graphical user interface;
- a user interface component to receive user input;
- data storage for storing data representing a plurality of objects to be displayed on the graphical user interface;
- at least one processor;
- and
- memory comprising instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
- receiving, from the user interface component, a first user input indicating an initiation of a dragging operation in the graphical user interface, the first user input indicating a first location in the graphical user interface;
- evaluating respective distances between the first location and a plurality of source features in the graphical user interface;
- determining a source feature corresponding to a source object in response to the source feature having a shortest distance among the respective distances to the first location;
- receiving, from the user interface component, a second user input during the dragging operation in the graphical user interface, the second user input indicating a current location in the graphical user interface;
- determining a current target feature corresponding to a current target object based on the current location;
- and
- snapping the source feature corresponding to the source object to the current target feature corresponding to the current target object.
Dependencies are inferred from the claim text.