Re: writting pixels in WIN32
- Posted by Brian Broker <bkb at CNW.COM> Dec 20, 1999
- 488 views
From Win32Lib.htm: Screen Identifes the screen. Category: Controls The Screen refers to the computer screen. It is automatically created, and it most graphic methods that work in Windows will also work with the screen. Example: -- Draw an 'x' across the screen sequence extent -- get the screen extent extent = getExtent( Screen ) -- set the pen color to red setPenColor( Screen, Red ) -- draw the lines drawLine( Screen, 0, 0, extent[1], extent[2] ) drawLine( Screen, extent[1], 0, extent[2], 0 )