FIN() Data for Plotters
The FIN() for a plotter returns the following data:
Bytes |
Contents |
1,2 |
World min x |
3,2 |
World min y |
5,2 |
World max x |
7,2 |
World max y |
9,2 |
Viewport min x |
11,2 |
Viewport min y |
13,2 |
Viewport max x |
15,2 |
Viewport max y |
17,2 |
Device x resolution |
19,2 |
Device y resolution |
21,2 |
Current aspect (signed binary, in 256ths) |
23,1 |
# of colors/pens available (raster b&w = 2) |
24,1 |
# of palettes available (0 for non-raster devices) |
25,1 |
Plotter pen width (in device coordinates) |
26,1 |
# of line styles available |
27,2 |
Plotting flags |
|
$8000$ Loaded driver |
|
$4000$ Shared display (device is current terminal) |
|
$0800$ Raster plotter |
|
$0400$ Raster font loaded |
|
$0080$ Filling enabled |
|
$0001$ Pen down |
29,2 |
Default aspect (signed binary, in 256ths) |
31,1 |
Maximum lines with readable characters |
32,1 |
Maximum columns with readable characters |
33,n1 |
Actual device name (host name)+$00$ |
33+n1,n2 |
Device type/termcap type+$00$ |
33+n1,n2,n3 |
Modes from alias line +$00$ |
The world and viewport values reflect the results of the 'WORLD' and 'VIEWPORT' mnemonics modified by the current aspect ratio.
The device's X and Y resolution are the number of points the device may address on the X and Y axis.
The aspect values are given in 256ths where an aspect ratio of 1 would be returned as $0100$ (256 256ths).
The maximum lines and columns are relative to the current font selected.