DOKK / manpages / debian 10 / ivtools-dev / transforms.3u.en
transforms(3U) InterViews Reference Manual transforms(3U)

MoveCmd, RotateCmd, ScaleCmd - coordinate transformation commands

#include <Unidraw/Commands/transforms.h>

The Unidraw library predefines three purely interpretive commands for performing coordinate transformations: MoveCmd defines a translation, RotateCmd defines a rotation, and ScaleCmd defines a two-dimensional scaling.

Construct a new MoveCmd, specifying the translation distances in the horizontal (dx) and vertical (dy) dimensions.
Return the translation distances specified in the constructor.

Construct a new RotateCmd, specifying the rotation angle in degrees.
Return the rotation angle specified in the constructor.

)
Construct a new ScaleCmd, specifying the scaling factors in the horizontal (sx) and vertical (sy) dimensions and an alignment suggesting the point about which the component should be scaled.
Return the scaling factors and alignment specified in the constructor.

Command(3U)

24 January 1991 Unidraw