forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
setpixel, _setpixel_w
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The setpixel and setpixel_w functions set a pixel at the specified
     location to the current color.
 
     The setpixel function sets the color of the pixel at the
     view-coordinate point (<x>, <y>).
 
     The setpixel_w function sets the color of the pixel at the
     window-coordinate point (<wx>, <wy>).
 
     Return Value
 
     The functions return the previous color index of the target pixel.
     If the function fails (for example, the point lies outside the
     clipping region), it returns -1.
                                    -♦-