◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The _setpixel and _setpixel_w functions set to the current color a pixel at a specified location. 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). This routine is implemented as a macro. Return Value The functions return the previous value of the target pixel. If the function fails (for example, the point lies outside the clipping region), it will return -1. -♦-