Re: drawing Lines
- From: Kevin J Prince <kevin@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 Jun 2008 11:20:46 +0000
Bill,
Well thanks for the reply, slight problem, it's such a long time since I did any programming I'm going to need a little more leading by the hand (by examples).
It's quite a while since I did any programming in fact been retired for some time and the brain does not work as well as it did!
So any additional help much appreciated for an old dodderer.
THE OVERALL PLOT
My, self instigated, project is that I have bought a weather station but I'm not impressed with the software that came with it. I'm hoping to write software which will give me more graphic information.
Information is sent via radio to a console, this console can be connected to the computer via a USB cable. This will give me possibly another option, to read data from a file created by the existing software or if I can get enough brain cells together (and help on the web ) to actually poll the device (console not using the radio comms).
Probably bitten off more that I can chew, but though it a good project to activate the mind again.
Regards
In message <EA1A8717-7750-48DF-ACDC-825F98B5BDC0@xxxxxxxxxxxxx>, Bill McCarthy <Bill@xxxxxxxxxx> writes
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@xxxxxxxxxxxxxxxxxxxxxHi,
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 ++
--
I live in my own little world,
But it's OK, they know me here....
++ Kevin J Prince ++
.
- Follow-Ups:
- Re: drawing Lines
- From: Bill McCarthy
- Re: drawing Lines
- References:
- drawing Lines
- From: Kevin J Prince
- Re: drawing Lines
- From: Bill McCarthy
- drawing Lines
- Prev by Date: Re: Installing a VB6 (SP6) app (not VB itself) under Vista
- Next by Date: Re: drawing Lines
- Previous by thread: Re: drawing Lines
- Next by thread: Re: drawing Lines
- Index(es):
Relevant Pages
|