set_sweep_gradient_func
Description:
[ CCode ( cname = "hb_paint_funcs_set_sweep_gradient_func" ) ]
public void set_sweep_gradient_func (owned PaintSweepGradientFunc func)
public void set_sweep_gradient_func (owned PaintSweepGradientFunc func)
Sets the sweep-gradient callback on the paint functions struct.
Parameters:
| func |
The sweep-gradient callback |
| destroy |
Function to call when |
| funcs |
A paint functions struct |
| user_data |
Data to pass to |