[perl-win32-gui-users] need help with Graphic
I have a Graphic object that I am plotting data on. While the cursor is on this object I have a cross-hairs cursor. What I would like to do is extend lines from the cursor position to the edges of the graph (the perimeter) but not have them overwrite what is plotted there and as I move the cursor around the lines move accordingly. It would be the same effect as using a selection tool in any common paint program. I know how to track the current mouse position and i know the values for the boundaries of the graph; I just don't know how to produce the effect I am wanting. Has anyone ever accomplished this? Does anyone know HOW to do it? Any help would be greatly appreciated. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical & Network Services Allegheny College Meadville, PA 16335 (814) 332-2755
Re: [perl-win32-gui-users] need help with Graphic
At 17:37 2003-12-22, Jonathan Southwick wrote: I have a Graphic object that I am plotting data on. While the cursor is on this object I have a How do you do this? Do you paint the entire area in the Graphic control's _Paint event? /J -- --- -- -- -- -- - - - Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED] Latest bookmark: "Lexa.McKenna.Edu OpenSSH for Windows" http://lexa.mckenna.edu/sshwindows/ dmoz: ...uters/Security/Products_and_Tools/Cryptography/ 24
Re: [perl-win32-gui-users] need help with Graphic
What I do is plot (x,y) the data points that I am graphing and connecting the points so that I have a line graph. Since I am plotting two series of data I have two different colored graphs. Jonathan At 12/22/2003 06:34 PM, you wrote: At 17:37 2003-12-22, Jonathan Southwick wrote: I have a Graphic object that I am plotting data on. While the cursor is on this object I have a How do you do this? Do you paint the entire area in the Graphic control's _Paint event? /J -- --- -- -- -- -- - - - Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED] Latest bookmark: "Lexa.McKenna.Edu OpenSSH for Windows" http://lexa.mckenna.edu/sshwindows/ dmoz: ...uters/Security/Products_and_Tools/Cryptography/ 24 --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users Jonathan Southwick [EMAIL PROTECTED] Technical & Network Services Allegheny College Meadville, PA 16335 (814) 332-2755