All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

NextPrevUpTopContentsIndex

draw-point

Function
Summary

Draws a pixel or unit square at a given point.

Package

graphics-ports

Signature

draw-point port x y &rest args

Arguments

port

A graphics port.

x

A real number.

y

A real number.

args

graphics-state parameters passed as keyword arguments.

Description

The function draw-point draws a single-pixel point at (x y ). The transform, foreground, background, operation , mask , pattern , shape-mode and compositing-mode graphics-state parameters are used. Additionally on X11/Motif only, stipple is used.

When drawing-mode is :compatible the output is a single pixel. Note that its position is transformed in the normal way.

When drawing-mode is :quality this draws a unit square as if by draw-rectangle, transformed in the normal way.

See also

draw-points
graphics-state


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex