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

NextPrevUpTopContentsIndex

with-transformed-points

Macro
Summary

Binds a list of transformed points in a port to a list across the execution of the macro's body.

Package

graphics-ports

Signature

with-transformed-points ( points port ) &body body => result

Arguments

points

A list of real numbers.

port

A graphics port.

Values

result

The return value of the last form executed in body .

Description

The macro with-transformed-points binds points to a new list of x and y values obtained by post-multiplying them by the current transform of port , and then evaluates body . The points symbol must be bound to a list of alternating x and y values representing coordinate points in the port .


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

NextPrevUpTopContentsIndex