Expand/Shrink

cdCanvasPixel

Definition: include pGUI.e

cdCanvasPixel(cdCanvas canvas, atom x, y, color)
-- or --
wdCanvasPixel(cdCanvas canvas, atom x, y, color)
Description: Configures the pixel (x,y) with the specified color.
It is the smallest element of the canvas.
It depends only on global attributes of the canvas.
It can be very slow on some drivers.
Sometimes it is implemented as a rectangle with size 1x1.

Note that cdfCanvasPixel() is not separately wrapped (just remove the f).
pwa/p2js: Supported, but not the world coordinates version.