Segment eraser
AssigneeMicrosoft Technology Licensing, LLC
InventorsEmily Tran, Daniel Yancy Parish, Tyler Adams, Larry Tucker Hatfield
Life of this patent
Estimating the term…
Abstract
Technologies are described for a segment eraser, where predefined graphical shapes or ink entries (hand drawn shapes through touch, gesture, or similar input) are modified through deletion of one or more segments, rotation, resizing, color changes, and comparable ones. Binary shape operations such as union combination, fragmenting intersection, and subtraction are performed on underlying shapes to create new shapes in predictable ways. A segment eraser according to embodiments works from endpoint to endpoint of the underlying shape outlines, on dosed shape areas when the shapes have no outline, and on dry ink strokes up to intersections with other ink entries.
Claims19
A computing device configured to provide shape modification at a segment level, the computing device comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory, the processor configured to execute a modification engine, wherein the modification engine is configured to:
- receive a first two-dimensional shape to be displayed;
- detect an activation of a segment eraser tool;
- detect a selection of a two-dimensional region with the segment eraser tool, the two-dimensional region including a portion of the first two-dimensional shape;
- identify one or more segments and endpoints of the one or more segments of the first two-dimensional shape within the selected two-dimensional region;
- remove the one or more segments of the first two-dimensional shape between the endpoints to create a second two-dimensional shape, wherein the second two-dimensional shape is to the removed one or segments;
- and
- overlay the second two-dimensional shape on a background such that the background is applied to the transparent region, wherein the background includes one or more of a color and a texture.
8-9. (canceled)
A method executed on a computing device to provide shape modification at a segment level, the method comprising:
- receiving a first two-dimensional shape to be displayed;
- detecting an activation of a segment eraser tool;
- detecting a selection of a two-dimensional region with the segment eraser tool, the two-dimensional region including a portion of the first two-dimensional shape;
- identifying one or more segments and endpoints of the one or more segments of the first two-dimensional shape;
- removing the one or more segments of the first two-dimensional shape between the endpoints to create a second two-dimensional shape, wherein the second two-dimensional shape is comprised of the first two-dimensional shape with a transparent region corresponding to the removed one or segments;
- overlaying the second two-dimensional shape on a background such that the background is applied to the transparent region, wherein the background includes one or more of a color and a texture:
- and
- providing the second two-dimensional shape overlaid on the background to be displayed.
A computer-readable memory device with instructions stored thereon for providing shape modification at a segment level, the instructions comprising:
- receiving a first two-dimensional shape to be displayed;
- detecting an activation of a segment eraser tool;
- detecting a selection of a two-dimensional region with the segment eraser tool, the two-dimensional region including a portion of the first two-dimensional shape;
- identifying one or more segments and endpoints of the one or more segments of the first two-dimensional shape within the selected two-dimensional region;
- removing the one or more segments of the first two-dimensional shape between the endpoints to create a second two-dimensional shape, wherein the second two-dimensional shape is comprised of the first two-dimensional shape with a transparent region corresponding to the removed one or segments;
- converting the second two-dimensional to a single object to enable a graphic operation on the second two-dimensional shape;
- overlaying the second two-dimensional shape on a background such that the background is applied to the transparent region, wherein the background includes one or more of a color and a texture;
- and
- providing the second two-dimensional shape overlaid on the background to be displayed.
(canceled)
Dependencies are inferred from the claim text.