next up previous contents index
Next: WIRE record Up: CGX Data Records Previous: BOX record   Contents   Index

POLY record

A POLY record can appear after a LAYER record has been issued. The POLY record defines a polygon object.

The header flags byte is not used.

The POLY record contains the following fields:

bytes field name purpose
? xy coordinate pairs, path must be closed

Coordinates use four-byte integers. The first and last coordinate pair (x-y values) must be the same. There must be at least four coordinate pairs.



Stephen R. Whiteley 2018-08-14