paintLinearGradient

fnvoid paintLinearGradient(harfbuzz.paint_funcs.PaintFuncs funcs, void * paintData, harfbuzz.color_line.ColorLine colorLine, float x0, float y0, float x1, float y1, float x2, float y2)

Perform a "linear-gradient" paint operation.

Parameters

funcspaint functions
paintDataassociated data passed by the caller
colorLineColor information for the gradient
x0X coordinate of the first point
y0Y coordinate of the first point
x1X coordinate of the second point
y1Y coordinate of the second point
x2X coordinate of the third point
y2Y coordinate of the third point