Howdy, Stranger!

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

Categories

Drawing Arrow on Canvas

TadeKTadeK Member Posts: 4
Hi,

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:


[img=http://img510.imageshack.us/img510/417/arryq7.png]



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