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.