• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Canvas.arc

0
zerotwo
Asked:
zerotwo
  • 3
  • 2
1 Solution
 
CesarioCommented:
hi zerotwo,

I think Mnasman gave you the right answer.
Can you give us more Information.

Best Regards

Cesario
0
 
zerotwoAuthor Commented:
He gave the answer with Canvas.PolyBezier, but I need it with Canvas.Arc
0
 
CesarioCommented:
Hi zerotwo,

Mnasman Answer:

and this example to draw arc on the form

procedure TForm1.Button1Click(Sender: TObject);
 var
   R: TRect;
 begin
   R := GetClientRect;   {Gets the boundaries of the  current window}
   Canvas.Arc(R.Left, R.Top, R.Right, R.Bottom, R.Right,  R.Top, R.Left, R.Top);
 end ;



ciao

Cesario
0
 
zerotwoAuthor Commented:
Yes, you really deserve a grade A ;) Your right, but the explaination is really bad, isn't it. (Quite easy to copy from Delphi help??)
0
 
CesarioCommented:
Dont ask me ;-) ask the expert how gave this bad answer

Best Regards

Cesario
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now