Plot metafile format.
Fire dump command.
text
A plot metafile is produced from the dump command and is
a sequential list of records providing a plot interface program with both
graphic and control information. Each record has the format:
<key> <parameters>
All lines beginning with a # are treated as comment lines.
Coordinate information in the file is a 2-D projection of a graphic view in a Fire window, scaled according to a window’s plot scale and converted to millimeters. All coordinates and dimensions within the metafile are therefore in millimeters.
BC <color> - The background color of the plot.
<color> - a string containing a Fire symbology name.
This record occurs once only as part of the file header.
CA <cx> <cy> <sx> <sy> <radius> <angle> - Draw an arc of radius <radius> centered at (<cx>,<cy>), starting at (<sx>,<sy>) with a subtended angle of <angle> degrees anticlockwise.
CE <cx> <cy> <axis_angle> <radius1> <radius2> <angle1> <angle2> - Draw an ellipse centered at (<cx>,<cy>) with major axis at an angle <axis_angle> in degrees, major radius <radius1>, minor radius <radius2>, starting at angle <angle1> in degrees and finishing at <angle2> in degrees measured counterclockwise.
These records are only present when created by dump -el.
CI <cx> <cy> <radius> - Draw a circle or radius <radius> centered at (<cx>,<cy>).
CR <text> - Creator string defined by dump -cr=<text>.
This record has no graphics associated with it and is for information only.
E <minx> <miny> <maxx> <maxy> - Extents of the drawing, corresponding to the window which was dumped.
This record occurs once only as part of the file header.
EB <type> <class> { <name> } - A record marking the start of entity graphics.
<type> - the entity type, a string, e.g. arc, lines, glabel etc.
<class> - the entity class, a string, e.g. entity or structure name.
<name> - the entity name, a string, if it has 1.
These records are only present when created by dump -ent.
EE - A record marking the end of entity graphics.
These records are only present when created by dump -ent.
FC <color> - Set the color for fills.
<color> - a string containing a Fire symbology name.
These records are not present when created by dump -fil.
FH <hatch> { <color> <thickness> } - Set the hatch pattern for fills with optional color and thickness override.
<hatch> and <color> - strings containing Fire symbology names.
<thickness> - an integer.
These records are present when created by dump -hat but not present when created by dump -fil.
FS <fillstyle> - Set the fillstyle for fills.
<fillstyle> - a string containing a Fire symbology name.
These records are only present when created by dump -fil.
FT <tile> <back_color> <fore_color> - Set the tile pattern for fills.
<tile>, <back_color> and <fore_color> - strings containing Fire symbology names.
These records are not present when created by dump -fil.
L <n> <sx> <sy> <deltax> <deltay> ... - Draw a polyline of <n> segments starting at (<sx>, <sy>).
<deltax> <deltay> - vertex coordinates relative to the previous vertex.
LC <color> - Set the color for lines/arcs/text.
<color> - a string containing a Fire symbology name.
LO - Reset the dash starting offset.
These records are not present when created by dump -ls.
LP { <n> <dash> <gap> <dash> <gap> ... } - Set the line pattern for lines and arcs. No parameters implies a solid line.
<n> - supplies the number of segments, a <dash> or zero means a dot.
These records are not present when created by dump -ls.
LS <linestyle> { <color> <thickness> } - Set the linestyle with color and thickness override for lines and arcs.
<linestyle> and <color> - strings containing Fire symbology names.
<thickness> - an integer.
These records are present only when created by dump -ls.
LT <thickness> - Set the line thickness for lines and arcs.
<thickness> - an integer.
These records are not present when created by dump -ls.
M <x> <y> - Draw a marker centered at (<x>,<y>).
These records are present only when created by dump -ms.
MA <angle> <cosine> <sine> - Set the angle for the drawing of markers.
<angle> - the angle in degrees.
<cosine>,<sine> - the cosine and sine of <angle>.
These records are present only when created by dump -ms.
MH <height> - Set the marker height for the drawing of markers.
These records are present only when created by dump -ms.
MS <markerstyle> { <color> <thickness> } - Set the marker style with color and thickness override for the drawing of markers.
<markerstyle> and <color> - strings containing Fire symbology names.
<thickness> - an integer.
These records are present only when created by dump -ms.
OR <x> <y> <z> - The 3-D position (in Fire modeling space) corresponding to the origin (0,0) of the plot coordinate system.
This record has no graphics associated with it and is for information only.
NC <color> <red> <green> <blue> - Define a color.
<color> - a string containing a Fire symbology name.
<red> - the red component of the color in the range 0 through 100.
<green> - the green component of the color in the range 0 through 100.
<blue> - the blue component of the color in the range 0 through 100.
The NC record is always present before any reference to the color.
NF <font> <filename> <x> <proportional> - Define a font.
<font> - a string containing a Fire font name.
<filename> - the name of a file containing font strokes or the name of a system font.
<x> - set to 1 means that <font> is a system font, set to zero means that <font> is a Fire software stroke font.
<proportional> - defines whether or not the <font> a fixed width font.
The NF record is always present before any reference to the font.
NT <tile> <filename> <inverted> - Define a tile pattern.
<tile> - a string containing a Fire tile name.
<filename> - the name of an X-11 bitmap file containing the tile pattern.
<inverted> - defines whether the tile pattern should be drawn as the inverse of that in <filename>.
The NT record is always present before any reference to the tile.
P <n> <edged> <sx> <sy> <deltax> <deltay> ... - Fill a polygon of <n> segments starting at (<sx>, <sy>).
If <edged> is non-zero then interpret the polygon outline as a polyline and draw it.
<deltax> <deltay> - vertex coordinates relative to the previous vertex.
PS <scale> - The plotting scale at which the drawing was produced.
This record occurs once only as part of the file header. It has no graphics associated with it and is for information only.
PX <scale> - The screen resolution (modeling units per screen pixel) when the metafile was created.
This record occurs once only as part of the file header. It has no graphics associated with it and is for information only.
RF <filename> <sx> <sy> <ex> <ey> <transparent> - Draw a image file.
<filename> - the name of the image file.
<sx> <sy> - provide the coordinates (in plot space) of the bottom left corner of the image.
<ex> <ey> - provide the coordinates (in plot space) of the top right corner of the image.
The image must be scaled to fit within <sx>,<sy> and <ex>,<ey> and clipped by the drawing extents (defined by the E record).
<transparent> - defines whether the image is to be drawn with a transparent background.
T <x> <y> <length> <text> - Draw text at (<x>,<y>) (the bottom left of first character).
<text> - the meat of the annotation.
<length> - gives the total width of the displayed text as a factor of the character height.
TA <angle> <cosine> <sine> - Set the path angle for the drawing of text.
<angle> - the angle in degrees.
<cosine>,<sine> - the cosine and sine of <angle>.
TF <font> - Set the character font for the drawing of text.
<font> - a string containing a Fire symbology name.
TI <text> - Title string defined by the dump switch -t=<text>.
This record has no graphics associated with it and is for information only.
TS <slant> <tangent> - Set the character slant for the drawing of text.
<slant> - the angle in degrees.
<tangent> - the tangent of <slant>.
TX <x> <y> <length> <text> - Draw special text at (<x>,<y>) (the bottom left of first character).
<text> - the meat of the special annotation in hexadecimal (%4x per character).
<length> - gives the total width of the displayed text as a factor of the character height.
TZ <height> <width> - Set the character height and width for the drawing of text.
Commands: |
|
Structures: |
|
Utilities: |