libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
PMF 15 bit signed integer

EMF+ manual 2.2.2.22, Microsoft name: EmfPlusInteger15 Object. More...

Macros

#define U_TEST_INT15   0x8000
 This bit is set in Integer15 objects.
 
#define U_SIGN_INT15   0x4000
 Sign bit on an Integer15 object.
 
#define U_MASK_INT15   0x7FFF
 Mask to retrieve integer15 bits.
 

Detailed Description

EMF+ manual 2.2.2.22, Microsoft name: EmfPlusInteger15 Object.

bit 15      U_INT15 Set in Integer15 objects
bits 0-15   15 bit signed integer value

This is the one data type that really does seem to be stored into the file in Big Endian order. It has to be this way because the bit that determines if data is int7 or int15 must be in the first byte the parser sees, and that byte is the high order byte.