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 BrushData Flags

Macros

#define U_BD_None   0x0000
 no bits set
 
#define U_BD_Path   0x0001
 Path, in {B}.
 
#define U_BD_Transform   0x0002
 Transform in {ABC}.
 
#define U_BD_PresetColors   0x0004
 PresetColors in {AB}.
 
#define U_BD_BlendFactorsH   0x0008
 BlendFactorsH in {AB}.
 
#define U_BD_BlendFactorsV   0x0010
 BlendFactorsV in {A} - Note, not actually implemented in GDI+.
 
#define U_BD_NoBit   0x0020
 unused bit
 
#define U_BD_FocusScales   0x0040
 Focus Scales in {B}.
 
#define U_BD_IsGammaCorrected   0x0080
 GammaCorrected in {ABC}.
 
#define U_BD_DoNotTransform   0x0100
 Ignore world to device transform in {C}.
 
#define U_BD_MASKA   0x009E
 all bits that MAY be set in A
 
#define U_BD_MASKB   0x00CF
 all bits that MAY be set in B
 
#define U_BD_MASKC   0x0182
 all bits that MAY be set in C
 

Detailed Description

For EMF+ manual 2.1.2.1, Microsoft name: BrushData Flags (U_BD_*)

Bit flags allowed in brush object types. Each bit indicates a type of object which is included. There are 5 brush types abbreviated A through E, and each uses a subset of the BrushData Flags, as summarized in the following table:

   Bits  Brush____Type                          EMF+ Manual  
   used  Abbrev.  Name                                        
   5     A        U_PMF_LINEARGRADIENTBRUSHDATA 2.2.2.24     
   6     B        U_PMF_PATHGRADIENTBRUSHDATA   2.2.2.29     
   3     C        U_PMF_TEXTUREBRUSHDATA        2.2.2.45     
   0     D        U_PMF_HATCHBRUSHDATA          2.2.2.20     
   0     E        U_PMF_SOLIDBRUSHDATA          2.2.2.45