28.11.2014 Views

AutoCAD® 2002 - Autodesk

AutoCAD® 2002 - Autodesk

AutoCAD® 2002 - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AutoCAD Release 9 and later, the slide file header consists of the following<br />

fields:<br />

Slide file header<br />

Field Bytes Description<br />

ID string 17 “AutoCAD Slide” CR LF ^Z NUL<br />

Type indicator 1 Currently set to 56 (decimal)<br />

Level indicator 1 Currently set to 2<br />

High X dot 2 Width of the graphics area: 1, in pixels<br />

High Y dot 2 Height of the graphics area: 1, in pixels<br />

Aspect ratio 4 Drawing area aspect ratio (horizontal size/vertical size in<br />

inches), scaled by 10,000,000. This value is always written<br />

with the least significant byte first<br />

Hardware fill 2 Either 0 or 2 (value is unimportant)<br />

Test number 2 A number (1234 hex) used to determine whether all<br />

2-byte values in the slide were written with the high-order<br />

byte first (Intel 8086-family CPUs) or the low-order byte<br />

first (Motorola 68000-family CPUs)<br />

Data records follow the header. Each data record begins with a 2-byte field<br />

whose high-order byte is the record type. The remainder of the record may<br />

be composed of 1-byte or 2-byte fields as described in the following table. To<br />

determine whether the 2-byte fields are written with the high-order byte first<br />

or the low-order byte first, examine the Test number field of the header that<br />

is described in the previous table.<br />

Slide file data records<br />

Record type<br />

(hex) Bytes Meaning Description<br />

00-7F 8 Vector The from-X coordinate for an ordinary vector.<br />

From-Y, to-X, and to-Y follow in that order as<br />

2-byte values. The from point is saved as the last<br />

point<br />

80-FA — Undefined Reserved for future use<br />

160 | Appendix A Drawing Interchange File Formats

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!