paint functions
associated data passed by the caller
Color information for the gradient
X coordinate of the first point
Y coordinate of the first point
X coordinate of the second point
Y coordinate of the second point
X coordinate of the third point
Y coordinate of the third point
Perform a "linear-gradient" paint operation.