Windows Metafiles (WMF) define a header then a sequence of records: write some text, draw a line, then EoF...
They can be 'encapsulated' and start with an optional 'Placeable' header with a magic, defining a bounding box and an enforced checksum (otherwise the header is ignored).
@colt ?