How do I draw a dotted or dashed line with A5
Michael Weiss

I would like to draw lines with different styles for plotting a line graph.
Like a dotted line, dashed line, etc.

Is there an easy way to do this in Allegro 5?

I was looking at: al_draw_soft_line() in the documentation.

Is this a good place to start?

Edgar Reynaldo

Just draw multiple shorter lines. al_draw_soft_line callsback for every pixel.

Thread #618688. Printed from Allegro.cc