Draw Line

Category:
Screen/Graphics
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
One of the easier ways to draw a line using pixels, in this case SetPixel of gdi, this program demonstrates how to draw a line with X1, Y1, X2, Y2 parameters the code is very well quoted, if you have a decent mathematical background, you may easly catch-up with the idea

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download graphicsdrawlinesource.zip