logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_draw_spline - Allegro 5 API

Description

       Draws a Bézier spline given 4 control points.

       Parameters:

       • points - An array of 4 pairs of coordinates of the 4 control points

       • color - Color of the spline

       • thickness - Thickness of the spline, pass <= 0 to draw a hairline spline

Name

       al_draw_spline - Allegro 5 API

See Also

al_calculate_spline(3alleg5)

Allegro reference manual                                                                 al_draw_spline(3alleg5)

Synopsis

              #include <allegro5/allegro_primitives.h>

              void al_draw_spline(const float points[8], ALLEGRO_COLOR color, float thickness)

See Also