|
-
Sep 25th, 2000, 10:56 AM
#1
Thread Starter
Hyperactive Member
I am ploting a graph using a picture1.line is there a quicker line drawing method than this?
-
Sep 25th, 2000, 01:04 PM
#2
PowerPoster
Use the API (LineTo)
-
Sep 25th, 2000, 02:45 PM
#3
Fanatic Member
-
Sep 26th, 2000, 04:54 AM
#4
Thread Starter
Hyperactive Member
User mode
Thanks chaps, the API line is much faster, however is does`nt seem to work in user mode (scale mode) on my picture box. Is there anyway to fix this (without having to implement my own version of user mode)
Cheers
-
Sep 26th, 2000, 05:24 AM
#5
transcendental analytic
Nope, Win API goes with pixels on DC so you have to do it manually not to hard.
Code:
pixelX = ScaleX(userX, vbUser, vbPixels)
pixelY = ScaleY(userY, vbUser, vbPixels)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 26th, 2000, 09:21 AM
#6
Thread Starter
Hyperactive Member
Cheers Kedaman, works a treat
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|