Drawing Arrow on Canvas


I have problem with drawing an arrow on PaintBox1->Canvas.
I need a function which takes 4 ints

void draw_arrow (int x1, int y1, int x2, int y2);

and draws an arrow from (x1,y1) to the point having (x2,y2) coordinates, as shown on picture:


Please gimme some hints.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!