SYNOPSIS

  • #include <allegro5/allegro_primitives.h>
    
    void al_draw_pieslice(float cx, float cy, float r, float start_theta,
       float delta_theta, ALLEGRO_COLOR color, float thickness)
    
    

DESCRIPTION

Draws a pieslice (outlined circular sector).

Parameters:

\[bu]

cx, cy - Center of the pieslice

\[bu]

r - Radius of the pieslice

\[bu]

color - Color of the pieslice

\[bu]

start_theta - The initial angle from which the pieslice is drawn

\[bu]

delta_theta - Angular span of the pieslice (pass a negative number to switch direction)

\[bu]

thickness - Thickness of the circle, pass <= 0 to draw hairline pieslice

SINCE

5.0.6, 5.1.0

RELATED TO al_draw_pieslice…

al_draw_filled_pieslice(3alleg5)