Original Post
Can somebody please rewrite the Pie function in the WIN32APIfrom:
procedure Pie(HDC hdc; int x1, Y1, X2, Y2, X3, Y3, X4, Y4);
to look like this.
procedure Pie(HDC hdc; int x,y,width,height,startAngle,arcAngle);
I''m not good at mathematics and find the pie function of WIN32API too difficult to manipulate. Java has got a much more user friendly drawArc method that is much more easier to use.
Please help
Thanks
James