Snapping line generation
AssigneeAdobe Inc.
InventorsPraveen Kumar Dhanuka, Neeraj Nandkeolyar, Chirag Maheshwari
Life of this patent
Estimating the term…
Abstract
Techniques and systems are described for snapping line generation based on glyphs. Techniques include locating bounding box lines from bounding boxes of glyphs. The bounding box lines may then be analyzed to identify which of the bounding box lines are collinear and at least one snapping line is generated based on the collinearity of the bounding box lines. The generated snapping lines are then output in a user interface to facilitate snapping objects to the snapping line.
Claims20
In a digital medium environment to generate snapping lines around glyphs, a method implemented by at least one computing device, the method comprising:
- locating, by the at least one computing device, a plurality of bounding box lines from a plurality of glyph bounding boxes, each said glyph bounding box corresponding to a glyph for output in a user interface;
- identifying, by the at least one computing device, a bounding box line of the plurality of bounding box lines as being collinear with another bounding box line of the plurality of bounding box lines;
- generating, by the at least one computing device, a snapping line based at least in part on the bounding box line that is collinear with the another bounding box line;
- and
- outputting, by the at least one computing device, the snapping line in the user interface, the snapping line operable to cause an edge of a digital object to move to the snapping line in response to input moving the edge into proximity of the snapping line in the user interface.
A computing device comprising:
- a processing system;
- and
- a computer readable storage medium having stored thereon instructions that implement a platform of the computing device that, responsive to execution by the processor, cause the processor to perform operations comprising:
- locating a plurality of bounding box lines from a plurality of glyph bounding boxes, each said glyph bounding box corresponding to a glyph for output in a user interface;
- identifying a bounding box line from the plurality of bounding box lines as being collinear with another bounding box line of the plurality of bounding box lines;
- generating a snapping line based at least in part on the bounding box line that is collinear with the another bounding box line;
- and
- outputting the snapping line in the user interface, the snapping line operable to cause an edge of a digital object to move to the snapping line in response to input moving the edge of the digital object into proximity of the snapping line in the user interface.
In a digital medium environment to generate snapping lines around glyphs, a method comprising:
- steps for locating a plurality of bounding box lines in a user interface, each said bounding box line based on an edge of a glyph bounding box;
- steps for identifying a first candidate snapping line representing a first quantity of the plurality of bounding box lines that are collinear, one to another;
- steps for identifying a second candidate snapping line representing a second quantity of the plurality of bounding box lines that are collinear, one to another;
- steps for generating a snapping line based at least in part on the first candidate snapping line being beyond a threshold distance from the second candidate snapping line, the second quantity of bounding box lines being greater than the first quantity of bounding box lines;
- and
- steps for outputting the snapping line based on the first candidate snapping line in the user interface, the snapping line operable to cause an edge of a digital object to move to the snapping line in response to input moving the edge into proximity of the snapping line in the user interface.
Dependencies are inferred from the claim text.