Set/Clear Pixel

\i D P bool::on_off

Parameter Type Range Description
on_off bool 0 ... 1 determines whether a pixel is set (1) or cleared (0)

Sets or clears the pixel at the current cursor position.

Note

Response: [ACK]

Example

\iDP\1

Sets a pixel at the current cursor position.

See also:

Set/Clear Pixel at X/Y
Set Background Color
Set Foreground Color
Set Inverse Mode
Set Alpha