Region detection for intertwining of vector objects
AssigneeAdobe Inc.
InventorsPraveen Kumar Dhanuka, Mohammad Zeeshan Ahmad, Harish Kumar
Life of this patent
Estimating the term…
Abstract
In various examples, a region including at least two vector objects that can be intertwined is determined. For example, vector objects can be intertwined by at least determining a set of outlines for the vector objects and detecting regions within which the vector objects overlap. In such examples, a visual order of the vector objects is determined based on an input from a user.
Claims20
A method comprising:
- determining a first outline for a first vector object rendered by an application by merging a first set of graphic primitives of the first vector object and a second outline for a second vector object rendered by the application by merging a second set of graphic primitives of the second vector object;
- determining, using the first outline and the second outline, a region including a first portion of the first outline of the first vector object that overlaps with a second portion of the second outline of the second vector object such that the first vector object and the second vector object are renderable to have an appearance of being intertwined;
- determining, for the region, a visual order for the first vector object and the second vector object based on a selection, via a user interface, of one of the first vector object and the second vector object;
- and
- causing the region to be rendered based on the visual order such that the first vector object and the second vector object visually appear intertwined based on a z-ordering indicated in the visual order, where the z-ordering indicates whether the first portion of the first outline of the first vector object or the second portion of the second outline of the second vector object is rendered within the region.
A non-transitory computer-readable medium storing executable instructions embodied thereon, that, as a result of being executed by a processing device, cause the processing device to perform operations comprising:
- determining a first outline for a first object and a second outline for a second object;
- determining a region, of a user interface of an application displaying a digital image, including a portion of the first object that overlaps with a portion of the second object based on the first outline and the second outline at least partially overlapping within the region, wherein the region is determined without user input to the application;
- determining a visual order associated with the first object and the second object based on an input device associated the user interface of the application, where the visual order indicates a topmost object;
- and
- causing the first object and the second object to be rendered by the application based on the visual order to provide an intertwined appearance of the first object and the second object by at least rendering the first object or the second object as the topmost object.
A system comprising:
- a memory component;
- and
- a processing device coupled to the memory component, the processing device to perform operations comprising:
- determining a plurality of outlines corresponding to a plurality of vector objects by, for each vector object, merging graphic primitives associated with the corresponding vector object;
- automatically determining a region, including a plurality of portions of at least two of the plurality of vector objects that overlap, based on the plurality of outlines corresponding to the plurality of vector objects, wherein the region is determined without user input to an application displaying the plurality of vector objects;
- determining, for the region, a visual order for the at least two of the plurality of vector objects that overlap based on information obtained from an input device associated with the application;
- causing the at least two of the plurality of vector objects that overlap to be displayed based on the visual order in the region to provide an intertwined appearance of the at least two of the plurality of vector objects, where the visual order indicates a topmost object of the at least two of the plurality of vector object to be rendered within the region;
- and
- removing a rendering artifact associated with a vector object, of the at least two of the plurality of vector objects that overlap, by modifying an outline, of the plurality of outlines, associated the vector object.
Dependencies are inferred from the claim text.