NEWPEN calls PPEN, RMPEN, and VPEN which change the hardware line type and/or width of the plotting line for subsequent plotting on the metafile, Ramtek, and terminal output devices. The precise effects depend on the particular graphics device. There are 9 standard line types which are shown in the last chapter. The output device will use the nearest hardware-supported line type to the standard line type. Some devices support additional types including permitting a specification of the scale factor of the line type (the length of the dot/dash pattern). If a device does not support line types, the default type is used. Line widths are not support on the Ramtek packages and are simulated in softwared for the terminal. The metafile package supports all features although the metafile processing programs may only use the features supported by the particular hardcopy graphics output device. Default line type is a solid line of width 1 dot.
CALL NEWPEN (i) i (I): selects a line type for all additional plotting for all output devices < 0 : resets line type to solid line of unit width. = 0 : no change > 0 : line type and width changed according to, (1's digit) : line type (0-9) (value of 0 does not change type) (10's digit) : line width (1-7) (value of 0 does not change width) (100's digit) : line type pattern scaling (1-7) (0 is no change)