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

rectangle-width Macro

Summary

Returns the difference between the left and right elements of a rectangle.

Package

graphics-ports

Signature

rectangle-width rectangle => width

Arguments
rectangle
A rectangle.
Values
width
A real number.
Description

The macro rectangle-width returns the difference between right and left elements of rectangle.

rectangle is a list of numbers (left top right bottom).


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:02