Re: writting pixels in WIN32

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 )

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu