2011
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
Quick Reference
Commands
LOAD
Makes shapes available for use by the SHAPE command.
SHAPE
Inserts a shape from a shape file that has been loaded using LOAD.
Special Codes
Special codes can be used to create additional geometric forms and specify
certain actions.
Use Special Codes
The second character of the three-character string (the vector length
specification) must be 0, or you can specify the special code number. For
example, 008 and 8 are both valid specifications.
Specification byte codes
DescriptionCode
End of shape definition000
Activate Draw mode (pen down)001
Deactivate Draw mode (pen up)002
Divide vector lengths by next byte003
Multiply vector lengths by next byte004
Push current location onto stack005
Pop current location from stack006
Draw subshape number given by next byte007
X-Y displacement given by next two bytes008
110 | Chapter 8 Shapes and Shape Fonts










