Layering a line with multiple layers for rendering a soft brushstroke
First Claim
1. A method for drawing a calligraphic line having a width, the method comprising:
- receiving a path for rendering the calligraphic line in a user interface, wherein the path includes a first segment having a first width and a second segment having a second width;
determining, by a computing device, a first number of composite lines to render for the first segment of the path to have the first width and a second number of composite lines to render for the second segment of the path to have the second width, wherein the first number of composite lines includes a first edge and a second edge, and the second number of composite lines includes a third edge and a fourth edge;
receiving a selection of a first color and a second color for a color gradient for the calligraphic line;
determining a first number of colors of the color gradient for the first segment of the path having a first width and a second number of colors of the color gradient for the second segment of the path having a second width;
assigning each of the first number of colors of the color gradient to one or more of the first number of composite lines and each of second number of colors of the color gradient to one or more of the second number of composite lines, such that the first and third edges have the first color, and the second and fourth edges have the second color; and
rendering, by the computing device, the first number of composite lines in parallel along the first segment of the path and the second number of composite lines in parallel along the second segment of the path to form the calligraphic line, wherein the first edge is connected to the fourth edge.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for drawing a line having a gradient opacity across a width of the line includes receiving a path for rendering the line in a user interface, and rendering, by a computing device, a plurality of composite lines on a user interface along the path to form the line. The composite lines of the plurality of composite lines have different widths have an opacity, and are multilayered along the path. The method further includes centering, by the computing device, longitudinal-centers of the plurality of composite lines with a center of the path. The opacity of the plurality of composite lines is additive across portions of the width of the line to form the gradient opacity.
51 Citations
25 Claims
-
1. A method for drawing a calligraphic line having a width, the method comprising:
-
receiving a path for rendering the calligraphic line in a user interface, wherein the path includes a first segment having a first width and a second segment having a second width; determining, by a computing device, a first number of composite lines to render for the first segment of the path to have the first width and a second number of composite lines to render for the second segment of the path to have the second width, wherein the first number of composite lines includes a first edge and a second edge, and the second number of composite lines includes a third edge and a fourth edge; receiving a selection of a first color and a second color for a color gradient for the calligraphic line; determining a first number of colors of the color gradient for the first segment of the path having a first width and a second number of colors of the color gradient for the second segment of the path having a second width; assigning each of the first number of colors of the color gradient to one or more of the first number of composite lines and each of second number of colors of the color gradient to one or more of the second number of composite lines, such that the first and third edges have the first color, and the second and fourth edges have the second color; and rendering, by the computing device, the first number of composite lines in parallel along the first segment of the path and the second number of composite lines in parallel along the second segment of the path to form the calligraphic line, wherein the first edge is connected to the fourth edge. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for drawing a calligraphic line having a turning section along a longitude of the calligraphic line, the method comprising:
-
receiving a path for rendering the calligraphic line in a user interface, wherein the path includes a first segment having a first width and a second segment having a second width; rendering, by a computing device, a first plurality of composite lines in parallel along the path to form a first side of the first segment of the calligraphic line in the user interface; and rendering, by the computing device, a second plurality of composite lines in parallel along the path to form a second side of the first segment of the calligraphic line in the user interface, wherein; the first side of the first segment of the calligraphic line and the second side of the first segment of the calligraphic line are joined at the turning section; the first side of the first segment of the calligraphic line together with the second side of the first segment of the calligraphic line are equal to the first width of the first segment, and the first segment of the calligraphic line is connected to the second segment of the calligraphic line also composed of a first side and a second side; and when the first segment and the second segment connect, the second side of the first segment of the calligraphic line and the first side of the first segment of the calligraphic line coincide at portions of the calligraphic line on the user interface, and the second side of the first segment of the calligraphic line replaces the first side of the first segment of the calligraphic line at the portions. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for drawing a calligraphic line having a width, the system comprising:
-
a user interface having a display; and at least one processor connected to the user interface, wherein the at least one processor is configured to; receive a path for rendering the calligraphic line in the user interface, wherein the path includes a first segment having a first width and a second segment having a second width; determine a first number of composite lines to render for the first segment of the path to have the first width and a second number of composite lines to render for the second segment of the path to have the second width, wherein the first number of composite lines includes a first edge and a second edge, and the second number of composite lines includes a third edge and a fourth edge; receive, from the user interface, a selection of a first color and a second color for a color gradient for the calligraphic line; determine a first number of colors of the color gradient for the first segment of the path having a first width and a second number of colors of the color gradient for the second segment of the path having a second width; assign each of the first number of colors of the color gradient to one or more of the first number of composite lines and each of second number of colors of the color gradient to one or more of the second number of composite lines, such that the first and third edges have the first color, and the second and fourth edges have the second color; and render, on the display, the first number of composite lines in parallel along the first segment of the path and the second number of composite lines in parallel along the second segment of the path to form the calligraphic line, wherein the first edge is connected to the fourth edge. - View Dependent Claims (19, 20, 21)
-
-
22. A system for drawing a calligraphic line having a turning section along a longitude of the calligraphic line, the method comprising, the system comprising:
-
a user interface having a display; and at least one processor connected to the user interface, wherein the at least one processor is configured to; receive a path for rendering the calligraphic line in the user interface, wherein the path includes a first segment having a first width and a second segment having a second width; render, on the display, a first plurality of composite lines in parallel along the path to form a first side of the first segment of the calligraphic line in the user interface; and render, on the display, a second plurality of composite lines in parallel along the path to form a second side of the first segment of the calligraphic line in the user interface, wherein; the first side of the first segment of the calligraphic line and the second side of the first segment of the calligraphic line are joined at the turning section; the first side of the first segment of the calligraphic line together with the second side of the first segment of the calligraphic line are equal to the first width of the first segment, and the first segment of the calligraphic line is connected to the second segment of the calligraphic line also composed of a first side and a second side; and when the first segment and the second segment connect, the second side of the first segment of the calligraphic line and the first side of the first segment of the calligraphic line coincide at portions of the calligraphic line on the user interface, and the second side of the first segment of the calligraphic line replaces the first side of the first segment of the calligraphic line at the portions. - View Dependent Claims (23, 24, 25)
-
Specification