The draw-point and draw-points functions make use of the following graphics context components: function, plane-mask, foreground, subwindow-mode, clip-x, clip-y, clip-ordering, clip-region and clip-mask.
The draw-point function uses the foreground pixel and function components of the graphics context to draw a single point into the specified drawable, while draw-points draws multiple points into the specified drawable. These functions are not affected by the tile or stipple in the graphics context.
|draw-point||drawable gcontext x y||Function|
Combines the foreground pixel in the gcontext with the pixel in the drawable specified by the x and y coordinates.
|draw-points||drawable gcontext points &optional relative-p||Function|
Combines the foreground pixels in the graphics context with the pixels at each point in the drawable. The points are drawn in the order listed.
draw-points requires a mode argument, relative-p that indicates whether the points are relative to the destination origin or to the previous point. In either case, the first point is always relative to the destination origin. The rest of the points are relative either to the drawable's origin or to the previous point, depending on the value of relative-p.