Re: drawing Lines
- From: "Bill McCarthy" <Bill@xxxxxxxxxx>
- Date: Tue, 3 Jun 2008 20:19:53 +1000
This is pretty simple really. Use a Line control. Determine the center of the circle and it's radius, then determine the dx and dy, by using Cos and Sin respectively, and multiply that by the radius. The line's start is the xCenter -dx, yCenter - dy, and the end points as xCenter + dx and yCenter + dy
"Kevin J Prince" <kevin@xxxxxxxxxxxxxxxxxx> wrote in message news:ZmSGlTAPDRRIFATM@xxxxxxxxxxxxxxxxxxxxx
Hi,
Is the following possible and if so how?
I have a form, with a frame, in that frame is a shape(circle).
I want to know if I can draw lines in that circle at any one of the 360 degrees for a specific length.
I hope to get date in and plot a line from the centre of the circle to the outer rim (max) at a specific angle. If the date get larger than that distance (centre to outer) I will need to work out a formulae which redraws all data at 75% of the original size.
Hope that makes sense???
Or is there already a subroutine somewhere to do just that?
|Regards
--
I live in my own little world,
But it's OK, they know me here....
++ Kevin J Prince ++
.
- Follow-Ups:
- Re: drawing Lines
- From: Kevin J Prince
- Re: drawing Lines
- References:
- drawing Lines
- From: Kevin J Prince
- drawing Lines
- Prev by Date: drawing Lines
- Next by Date: Re: DirectX.AudioVideoPlayback location
- Previous by thread: drawing Lines
- Next by thread: Re: drawing Lines
- Index(es):
Relevant Pages
|