Adobe framemaker 6.0 Manuale Utente

Pagina di 323
293
ADOBE FRAMEMAKER 6.0
FrameVector Facet Format
Data types used in specifications
The following table lists the data types used for the specifications in this appendix. 
All integer values are stored in big endian order.
The x and y coordinates are relative to the rectangle bounding the vector graphics. The origin of the 
coordinate system is the upper left corner of this rectangle. 
For the specifications of angles, positive values are measured clockwise from 0° (the x-axis), and negative 
values are measured counterclockwise.
Specifications of definition op codes 
This section describes each definition op code. Op codes are listed by number and description. The op code 
number is shown in parentheses.
Version number (0x01)
Type
Definition
byte
unsigned 8-bit integer
short
unsigned 16-bit integer
long
signed 32-bit integer
unsigned long
unsigned 32-bit integer
metric
signed 32-bit, fixed point; the first 16 bits represent the digits preceding the decimal, the last 16 bits 
represent the digits following the decimal 
string
string of characters beginning and ending with a null character; the string is preceded by a short integer 
that specifies the length of the string (including the null characters that bracket the string)
point
2 metrics interpreted as the position of the point in x and y coordinates
rectangle
4 metrics interpreted as the position of the rectangle in x and y coordinates and the size of the rectangle 
in width and height
Specification by data type:
Byte
Description of data:
Bits 7-4: major version number
Bits 3-0: minor version number
Size of data in bytes:
1
Example:
01 00000001 50
representing version 5.0
Note:
This must be the first op code for a FrameVector graphic.