Displaying smart guides for object placement based on sub-objects of reference objects
AssigneeAdobe Inc.
InventorsVinay Pareek, Mohan Sharma
Life of this patent
Estimating the term…
Abstract
A smart guide display system generates one or more sub-objects for at least one of reference object in digital content, and each of these sub-objects is added to a set of reference objects. These sub-objects can be, for example, an edge of a reference object, a rectangle generated from a rectilinear reference object, or a freeform gradient color point included in a reference object. When a subject object is to be placed in digital content smart guides, such as equal distance guides or alignment guides, are displayed based on the objects in the set of reference objects.
Claims20
In a digital medium environment to generate digital content, a method implemented by at least one computing device, the method comprising:
- identifying a first reference object of a set of one or more reference objects in digital content;
- generating one or more sub-objects from the first reference object;
- adding each of the one or more sub-objects to the set of reference objects as a reference object;
- determining a first distance in a first direction between a subject object and a first candidate reference object in the set of reference objects, the first candidate reference object being one of the one or more sub-objects;
- determining a second distance in a second direction between the subject object and a second candidate reference object in the set of reference objects, the first direction being opposite the second direction;
- determining whether the first distance is within a threshold amount of the second distance;
- and
- displaying, in response to the first distance being within the threshold amount of the second distance, equal distance guides between the subject object and the first candidate reference object, and between the subject object and the second candidate reference object.
In a digital medium environment to generate digital content, a computing device comprising:
- a processor;
- and
- computer-readable storage media having stored thereon multiple instructions that, responsive to execution by the processor, cause the processor to perform operations including:
- identifying a first reference object of a set of reference objects in digital content, the first reference object being a rectilinear object;
- generating one or more sub-objects from the first reference object by breaking the first reference object into multiple sub-objects that are rectangles and that together make up the first reference object;
- adding each of the one or more sub-objects to the set of reference objects as a reference object;
- determining whether an edge of a subject object bounding box is approximately horizontally aligned or vertically aligned with an edge of a first candidate reference object, the first candidate reference object being one of the one or more sub-objects;
- and
- displaying, in response to the edge of the subject object bounding box being approximately horizontally aligned or vertically aligned with the edge of the first candidate reference object, an alignment guide between the edge of the subject object bounding box and the edge of the first candidate reference object.
In a digital medium environment to generate digital content, a computing device comprising:
- a processor;
- and
- computer-readable storage media having stored thereon multiple instructions that, responsive to execution by the processor, cause the processor to perform operations including:
- identifying a first reference object of a set of reference objects in digital content, the first reference object including one or more freeform gradient color points;
- generating one or more sub-objects from the first reference object by identifying, as a sub-object, each of the one or more freeform gradient color points;
- adding each of the one or more sub-objects to the set of reference objects as a reference object;
- determining whether a subject object is approximately horizontally aligned or vertically aligned with a first candidate reference object, the first candidate reference object being one of the one or more sub-objects;
- and
- displaying, in response to the subject object being approximately horizontally aligned or vertically aligned with the first candidate reference object, an alignment guide between the subject object and the first candidate reference object.
Dependencies are inferred from the claim text.