2.2.6 EpsData Object

The EpsData object is a container for EPS data.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SizeData

Version

Points (24 bytes)

...

...

...

PostScriptData (variable)

...

SizeData (4 bytes): An unsigned integer that specifies the total size of this object in bytes.

Version (4 bytes): An unsigned integer that specifies the PostScript language level. This value is 0x00000001.

Points (24 bytes): An array of three Point28_4 objects (section 2.2.23) that defines the coordinates of the output parallelogram using 28.4 bit FIX notation.

The upper-left corner of the parallelogram is the first point in this array, the upper-right corner is the second point, and the lower-left corner is the third point. The lower-right corner of the parallelogram is computed from the first three points (A, B, and C) by treating them as vectors.

 D = B + C A

PostScriptData (variable): An array of bytes of PostScript data. The length of this array can be computed from the SizeData field. This data MAY be used to render an image.<45>

An EpsData object can be used to embed a PostScript image in an EMF metafile as follows: