Drawing figures in computer-based drawing applications
First Claim
1. A computer-implemented method for associating a graphics object with a first target region of a graphical object template divided into one or more target regions, the method comprising:
- calculating a center of mass of the graphics object;
calculating a center of mass of at least one target region in the one or more target regions;
for at least one target region, calculating a distance between the graphics object and the target region;
for at least one target region, calculating an overlap amount between the graphics object and the target region; and
for at least one target region, calculating a proximity score for the target region by dividing the sum of the overlap amount and a positive integer by the sum of the distance and the positive integer,wherein the graphics object is associated with the first target region based on the proximity scores for the target regions.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for associating a graphics object with one of a plurality of target regions of a graphical object template are disclosed. The graphics object is associated with one of the target regions based on the distance between the center of mass of the graphics object and the center of mass of the target region and the overlap amount of the graphics object with the target region. A pre-generated graphics object (stamp object) may also be automatically incorporated into one of the target regions based on the alignment of the minimum bounding box of the stamp object and the minimum bounding box of the target region.
-
Citations
20 Claims
-
1. A computer-implemented method for associating a graphics object with a first target region of a graphical object template divided into one or more target regions, the method comprising:
-
calculating a center of mass of the graphics object; calculating a center of mass of at least one target region in the one or more target regions; for at least one target region, calculating a distance between the graphics object and the target region; for at least one target region, calculating an overlap amount between the graphics object and the target region; and for at least one target region, calculating a proximity score for the target region by dividing the sum of the overlap amount and a positive integer by the sum of the distance and the positive integer, wherein the graphics object is associated with the first target region based on the proximity scores for the target regions. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium, storing instructions that when executed by a processor, cause a processor to associate a graphics object with a first target region of a graphical object template divided into one or more target regions, by performing the steps of:
-
calculating a center of mass of the graphics object; calculating a center of mass of at least one target region in the one or more target regions; for at least one target region, calculating a distance between the graphics object and the target region; for at least one target region, calculating an overlap amount between the graphics object and the target region; and for at least one target region, calculating a proximity score for the target region by dividing the sum of the overlap amount and a positive integer by the sum of the distance and the positive integer, wherein the graphics object is associated with the first target region based on the proximity scores for the target regions. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
one or more computer processors; and a memory containing a program which when executed by the one or more computer processors, performs an operation to associate a graphics object with a target region of one or more target regions in a target graphical object template, the operation comprising; calculating a center of mass of the graphics object, calculating a center of mass of at least one target region in the one or more target regions, for at least one target region, calculating a distance between the graphics object and the target region, for at least one target region, calculating an overlap amount between the graphics object and the target region, and for at least one target region, calculating a proximity score for the target region by dividing the sum of the overlap amount and a positive integer by the sum of the distance and the positive integer, wherein the graphics object is associated with the first target region based on the proximity scores. - View Dependent Claims (16, 17)
-
-
18. A non-transitory computer readable storage medium, storing instructions that when executed by a processor, cause a processor to associate a graphics object with a first target region of a graphical object template divided into one or more target regions, by performing the steps of:
-
calculating a center of mass of the graphics object; retrieving, from a memory, a pre-calculated center of mass of at least one target region in the one or more target regions, wherein the memory stores the graphical object template; for at least one target region, calculating a distance between the graphics object and the target region; for at least one target region, calculating an overlap amount between the graphics object and the target region; and for at least one target region, calculating a proximity score for the target region based on the distance and the overlap amount, wherein the graphics object is associated with the first target region based on the proximity scores for the target regions.
-
-
19. A computer-implemented method for associating a graphics object with a first target region of a graphical object template divided into one or more target regions, the method comprising:
-
calculating a center of mass of the graphics object; retrieving, from a memory, a pre-calculated center of mass of at least one target region in the one or more target regions, wherein the memory stores the graphical object template; for at least one target region, calculating a distance between the graphics object and the target region; for at least one target region, calculating an overlap amount between the graphics object and the target region; and for at least one target region, calculating a proximity score for the target region based on the distance and the overlap amount, wherein the graphics object is associated with the first target region based on the proximity scores for the target regions.
-
-
20. A system, comprising:
-
one or more computer processors; and a memory containing a program which when executed by the one or more computer processors, performs an operation to associate a graphics object with a target region of one or more target regions in a target graphical object template, the operation comprising; calculating a center of mass of the graphics object, retrieving, from a memory, a pre-calculated center of mass of at least one target region in the one or more target regions, wherein the memory stores the graphical object template, for at least one target region, calculating a distance between the graphics object and the target region, for at least one target region, calculating an overlap amount between the graphics object and the target region, and for at least one target region, calculating a proximity score for the target region based on the distance and the overlap amount, wherein the graphics object is associated with the first target region based on the proximity scores.
-
Specification