VBGamer |
|
RE: I'm using DDraw windowed mode ... Tristan (0 replies, 0 views) (2000-Nov-18) Just pass the hdc of the picturebox you want to blit to while initializing, then use the DrawLine method of your backbuffer-surface. This is a very easy method which needs 4 arguments
x1,y1,x2,y2
I'm shure you know what these parameters stand for: the x and y coordinates of the line.
You can also change the linewidth, and linecolor...with 2 parameters of the surface.
Good Luck
Tristan
http://hephaistos.thenexus.bc.ca/ |