Manual

rmoveto
158
rmoveto
Description
Establishes the new current point at a relative distance from the current point.
Usage
XDeltaNum YDeltaNum rmoveto
XDeltaNum Integer or fixed-point. Relative distance along the X axis to the new current co-
ordinate. Specified in user coordinates.
YDeltaNum Integer or fixed-point. Relative distance along the Y axis to the new current co-
ordinate. Specified in user coordinates.
Comments
Most PAL drawing operators use the current point as the location at which to draw. In most cases,
the current point establishes the bottom left corner of any new object drawn.
The rmoveto operator also has the affect of ending any active sub-path in the graphics state and
starting a new sub-path. Depending upon the desired result, the programmer may wish to specify
closepath
before a
rmoveto
in order to close the active sub-path. Using
rmoveto
without
closepath creates an open sub-path.
Closing a sub-path instructs PAL to smooth the connection between the first and last lines of the
path. PAL assumes that the start and end points of an open path either do not meet or the
programmer does not wish PAL to smooth the connection.