Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>method setpixel class twindow</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 METHOD SetPixel CLASS TWindow
--------------------------------------------------------------------------------
Syntax:
   TWindow:SetPixel( <nX>, <nY>, <nColor> )  --> Nil

Parameters:

<nX>      The pixel row where the pixel should be turned on. This row
          is relative to the top of the window.

<nY>      The pixel column where the pixel should be turned on. This
          column is relative to the left side of the window.

<nColor>  This determines the color of the pixel. The color should be
          a MS-Windows COLOR integer.

Purpose:
The SetPixel() method will enable you to set individual pixels on or
off. SInce you can control the color of the pixel you can easily turn a
pixel 'off' by setting it to the background color of the window (ie
stored in the instance variable ::nClrPane)


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson