McIDAS Programmer's Manual
Version 2015

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


VIRTnnnn

Virtual graphics files, where nnnn is the virtual graphics number.

These variable-length, binary files contain one or more virtual graphics scenes. A scene contains graphics attribute information, such as page boundary, line width, pen position and color information.

For virtual graphics file Application Program Interfaces (APIs), refer to the API functions list at the end of this section.

Word allocation

Below is a description of one scene in a virtual graphics file.

Word Description

0

top of the page boundary and virtual graphics version as halfwords

1

bottom of the page boundary and line width as halfwords

2

left edge of the page boundary

3

right edge of the page boundary

4

beginning pen position/color triples where (in an x-y plane): word n = pen y position
word n + 1 = pen x position
word n + 2 = pen color
Decimal 256 marks the end of a scene.

API functions

Fortran Function Description

vpout

writes to a virtual graphics file

 


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]