paint_linear_gradient


Description:


[ Version ( since = "7.0.0" ) ]
public void paint_linear_gradient (PaintFuncs funcs, void* paint_data, ColorLine color_line, float x0, float y0, float x1, float y1, float x2, float y2)

Perform a "linear-gradient" paint operation.

Parameters:

funcs

paint functions

paint_data

associated data passed by the caller

color_line

Color information for the gradient

x0

X coordinate of the first point

y0

Y coordinate of the first point

x1

X coordinate of the second point

y1

Y coordinate of the second point

x2

X coordinate of the third point

y2

Y coordinate of the third point


Namespace: HarfBuzz