System and method for drawing and painting with bitmap brushes
First Claim
1. A method for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system, the method comprising the steps of:
- defining a path of a guide line, the path having an arc-length and the guide line having a thickness;
scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guide line; and
transforming the bitmap brush such that the x-axis of the bitmap brush generally aligns with the path and the y-axis of the bitmap brush generally aligns with an instantaneous normal to the path such that the bitmap brush is warped to the guide line to create the paint stroke.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system. The paint stroke is created by defining a path of a guide line, the path having an arc-length and the guide line having a thickness, and scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guide line. The bitmap brush is then transformed such that the x-axis of the bitmap brush generally aligns with the path and the y-axis of the bitmap brush generally aligns with an instantaneous normal to the path such that the bitmap brush is warped to the guide line.
-
Citations
36 Claims
-
1. A method for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system, the method comprising the steps of:
-
defining a path of a guide line, the path having an arc-length and the guide line having a thickness;
scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guide line; and
transforming the bitmap brush such that the x-axis of the bitmap brush generally aligns with the path and the y-axis of the bitmap brush generally aligns with an instantaneous normal to the path such that the bitmap brush is warped to the guide line to create the paint stroke. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system, the method comprising the steps of:
-
defining in parametric form a path of a guide line, the path having an arc-length and the guide line having a thickness;
scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guideline;
calculating, for a plurality of path points along the path, an instantaneous normal to the path at the corresponding one of the plurality of points; and
, for each instantaneous normal calculated, performing the further steps of;
determining, for a plurality of normal points along the instantaneous normal lying within the guide line, their locations in Cartesian coordinates; and
, for each of the normal points, performing the further steps of;
using a first distance representative of an arc-length distance from an origin point on the path to a point on the path through which the instantaneous normal passes and a second distance, representative of a distance along the instantaneous normal from an origin point on the instantaneous normal to the normal point, to look-up a pixel value and mapping to the Cartesian coordinate defined by the normal point the looked-up pixel value such that the bitmap brush is warped to the guide line to create the paint stroke. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A method for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system, the method comprising the steps of:
-
defining in parametric form a path of a guide line, the path having an arc-length and the guide line having a thickness;
scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guide line;
defining in a Cartesian coordinate system the guide line points that comprise the guide line; and
, for each guide line point defined, performing the further steps of;
determining those path points residing on the path that are closest to the guide line point;
for each path point determined, performing the further steps of;
calculating an arc-length distance from an origin point on the path to the path point;
calculating a normal distance from the guide line point to the path point; and
using the arc-length distance and the normal distance to look-up a pixel value from the bitmap brush;
calculating the average of all looked-up pixel values; and
mapping the averaged pixel value to the Cartesian coordinate of the point to create the paint stroke. - View Dependent Claims (26)
-
-
27. A computer-readable medium having computer-executable instruction for drawing a paint stroke with a bitmap brush having pixels located at locations definable in a Cartesian coordinate system, the computer-executable instructions performing the steps of:
-
defining a path of a guide line, the path having an arc-length and the guide line having a thickness;
scaling the bitmap brush as a function of the arc-length of the path and the thickness of the guide line; and
transforming the bitmap brush such that the x-axis of the bitmap brush generally aligns with the path and the y-axis of the bitmap brush generally aligns with an instantaneous normal to the path such that the bitmap brush is warped to the guide line to create the paint stroke. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification