# US 2017/0287172 A1 · Ink effects

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0287172 A1
- Document ID: US20170287172A1
- Status: Published application
- Kind: A1
- Application number: 15/237,498
- Filed: 2016-08-15
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC.
- Inventors: Sarah Sykes; Ian William Mikutel; Arianne Marie Taylor; ArunKumar Narayanan Kotiedath; Anthony Neil Dart; Ana Ruth Resendez Rodriguez
- Web page: https://patentgrep.com/patent/US20170287172A1

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06F 3/048: Interaction techniques based on graphical user interfaces [GUI]
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 40/171: by use of digital ink
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Document authoring that involves illustrating pen input in an authoring environment is herein improved to provide greater control of colors and patterns for representing the pen input in a graphical user interface. Colors and patterns are provided as effects that are applied to the illustrated pen input so that multiple textures or colors may be applied to the illustrated pen input without requiring the user to manually signal a switch in texture or colors or using multiple objects to represent the pen input. In various aspects, effects may be layered on top of each other, and the effects may be stretched or tiled depending on the size of the illustrated pen input.

## Claims

### Claim 1

A method for applying graphical effects to an inking input in a graphical user interface, comprising:
receiving a stroke comprising the inking input;
building a geometry for the stroke;
receiving an image file as a graphical effect to apply to the inking input;
receiving an anchor specifying a position in the image file;
masking the image file at the anchor with the geometry to create an inking effect mask; and
rendering the inking effect mask in the graphical user interface.

### Claim 2 (depends on 1)

The method of claim 1, further comprising receiving a second graphical effect for application to the inking input, the second graphical effect to be displayed as a layer above the graphical effect.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second graphical effect includes application of a spectral line as a mesh to the geometry.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
wherein when the image file is smaller in size than the geometry, tiling the image file to produce a tiled image at least as large as the geometry.

### Claim 5 (depends on 4)

The method of claim 4, wherein the image file is tiled by rotating the image file about an axis comprising an edge of the image file.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
wherein when the image file is smaller in size than the geometry, stretching the image file to be at least as large as the geometry.

### Claim 7 (depends on 1)

The method of claim 1, wherein the image file is a spectral line defining a series of colors.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a second stroke;
building a second geometry for the second stroke;
receiving a second anchor specifying a second position in the image file, wherein the second position is based on a relative position of the second stroke to the stroke;
masking the image file at the second anchor with the second geometry to create a second inking effect mask; and
rendering the second inking effect mask in the graphical user interface.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving a second stroke;
building a second geometry for the second stroke;
masking the image file at the anchor with the second geometry to create a second inking effect mask; and
rendering the second inking effect mask in the graphical user interface.

### Claim 10

A method for applying graphical effects to an inking input in a graphical user interface, comprising:
receiving inking input to build a stroke;
building a geometry for the stroke;
receiving a spectral line, comprising a plurality of colors in a series as a graphical effect to apply to the inking input;
receiving an anchor in the spectral line that specifies one color of the plurality of colors as a start color;
applying a mesh to the geometry wherein the mesh applies the plurality of colors to the geometry according to the series starting with the start color; and
rendering the geometry with the mesh in the graphical user interface.

### Claim 11 (depends on 10)

The method of claim 10, wherein the mesh applies the plurality of colors along a length of the geometry.

### Claim 12 (depends on 10)

The method of claim 10, wherein the mesh applies the plurality of colors along a width of the geometry.

### Claim 13 (depends on 10)

The method of claim 10, wherein the mesh applies the plurality of colors outward from a central point of the geometry.

### Claim 14 (depends on 10)

The method of claim 10, wherein the mesh applies the plurality of colors according to a variable length along the geometry according to a variable length of application associated with each color of the plurality of colors.

### Claim 15 (depends on 10)

The method of claim 10, wherein a second mesh applies the plurality of colors, ordered according to a second series, to a second geometry intersecting the geometry.

### Claim 16

A system for applying graphical effects to inking input in a graphical user interface, comprising:
a wet stroke processor, operable to receive pointer inputs comprising location data in the graphical user interface in which the pointer inputs were made to group the pointer inputs into strokes;
a plurality of ink effect definitions, operable to provide the graphical effects to apply to the inking input; and
a wet stroke renderer operable to:
receive a wet stroke from the wet stroke processor to produce a geometry for the wet stroke, wherein the wet stroke is an in-progress stroke,
associate at least one ink effect definition from the plurality of ink effect definitions for rendering with the geometry, and
transmit the geometry to an operating system graphics application program interface for rendering in the graphical user interface.

### Claim 17 (depends on 16)

The system of claim 16, wherein the wet stroke renderer is further operable to receive an anchor point, the anchor point specifying a position in a given ink effect definition of the plurality of ink effect definitions from which the wet stroke renderer will associate with the location on the geometry.

### Claim 18 (depends on 16)

The system of claim 16, wherein a given ink effect definition of the plurality of ink effect definitions is a plurality of colors, wherein the wet stroke renderer is further operable to set a series for the given ink effect definition for each of the strokes grouped by the wet stroke processor.

### Claim 19 (depends on 16)

The system of claim 16, further comprising:
a stroke queue operable to receive the grouped strokes from the wet stroke processor when a given stroke is complete, and to incorporate the given stroke as a dry stroke into a structure of a document being authored via the graphical user interface; and
a dry stroke renderer operable to:
retrieve the dry stroke from the structure of the document to produce a dry geometry for the dry stroke,
associate at least one ink effect definition from the plurality of ink effect definitions for rendering with the dry geometry, and
transmit the dry geometry to the operating system graphics application program interface for rendering in the graphical user interface.

### Claim 20 (depends on 16)

The system of claim 16, wherein the wet stroke renderer is further operable to apply multiple ink effect definitions in layers to the geometry.
