Solved

Canvas.arc

Posted on 2001-06-24
5
261 Views
Last Modified: 2010-04-06
0
Comment
Question by:zerotwo
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Cesario
ID: 6222589
hi zerotwo,

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

Best Regards

Cesario
0
 

Author Comment

by:zerotwo
ID: 6222636
He gave the answer with Canvas.PolyBezier, but I need it with Canvas.Arc
0
 
LVL 8

Accepted Solution

by:
Cesario earned 0 total points
ID: 6222639
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
 

Author Comment

by:zerotwo
ID: 6239625
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
 
LVL 8

Expert Comment

by:Cesario
ID: 6240754
Dont ask me ;-) ask the expert how gave this bad answer

Best Regards

Cesario
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now