All Manuals > CAPI Reference Manual > 2 GP 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 draw-point function draws a single-pixel point at (x y ). The transform, foreground, background, operation , mask , shape-mode and compositing-mode graphics-state parameters are used. Additionally on Unix only, stipple and pattern are 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 Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex