I’m trying to use the bezierColor()
function in SDL2_gfx but I’m confused by the parameters it is expecting. I had assumed that it would want arrays of endpoints and control points, similar to what the Windows PolyBezier() function requires, but that’s not giving the expected results.
The SDL2_gfx documentation implies that the points supplied in the arrays are all on the curve, that is they are all ‘endpoints’ rather than ‘control points’, which has left me puzzled because I don’t understand how to specify a Bezier curve without control points! Can anybody help?