2.3.6.6 CLIP_TO_PATH Record

The CLIP_TO_PATH Record applies a function to the current PostScript clipping path.


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

RecordSize

RecordFunction

EscapeFunction

ByteCount

ClipFunction

Reserved1

RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in this record. This value MUST be 0x0000000E.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines the record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_ESCAPE.

EscapeFunction (2 bytes): A 16-bit unsigned integer that defines the escape function. The value MUST be 0x1001 (CLIP_TO_PATH) from the MetafileEscapes Enumeration (section 2.1.1.17).

ByteCount (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the record data that follows. This value MUST be 0x0004.

ClipFunction (2 bytes): A 16-bit unsigned integer that defines the function to apply to the PostScript clipping path. This value MUST be a PostScriptClipping Enumeration (section 2.1.1.27) table value.

Name

Value

CLIP_SAVE

0x0000

CLIP_RESTORE

0x0001

CLIP_INCLUSIVE

0x0002

Reserved1 (2 bytes): This value SHOULD be zero and SHOULD be ignored by the client.<64>

See section 2.3.6 for the specification of other Escape Record Types.