PSET

Top  Previous  Next

Syntax

PSET(win as WINDOW,x as INT, y as INT, OPT clr as UINT)

Description

Sets the pixel in a window to the specified color, or the color of the current foreground pen.

Parameters

win - Window to set pixel.

x, y - Coordinates of pixel.

clr - Optional color. If not specified then the foreground color, set with FRONTPEN, is used.

Return value

None

Remarks

See also: GETPIXEL

Example usage

PSET mywnd, 10, 20, RGB(255,0,255)