Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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