EmfPlusBrushDataFlags

EmfPlusBrushDataFlags enumeration

The BrushData flags specify properties of graphics brushes, including the presence of optional data fields. These flags can be combined to specify multiple options.

[Flags]
public enum EmfPlusBrushDataFlags

Values

NameValueDescription
BrushDataPath1This flag is meaningful in EmfPlusPathGradientBrushData objects (section 2.2.2.29). If set, an EmfPlusBoundaryPathData object (section 2.2.2.6) MUST be specified in the BoundaryData field of the brush data object. If clear, an EmfPlusBoundaryPointData object (section 2.2.2.7) MUST be specified in the BoundaryData field of the brush data object.
BrushDataTransform2This flag is meaningful in EmfPlusLinearGradientBrushData objects (section 2.2.2.24), EmfPlusPathGradientBrushData objects, and EmfPlusTextureBrushData objects (section 2.2.2.45). If set, a 2x3 world space to device space transform matrix MUST be specified in the OptionalData field of the brush data object.
BrushDataPresetColors4This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an EmfPlusBlendColors object (section 2.2.2.4) MUST be specified in the OptionalData field of the brush data object.
BrushDataBlendFactorsH8This flag is meaningful in EmfPlusLinearGradientBrushData and EmfPlusPathGradientBrushData objects. If set, an EmfPlusBlendFactors object (section 2.2.2.5) that specifies a blend pattern along a horizontal gradient MUST be specified in the OptionalData field of the brush data object.
BrushDataBlendFactorsV10This flag is meaningful in EmfPlusLinearGradientBrushData objects. If set, an EmfPlusBlendFactors object that specifies a blend pattern along a vertical gradient MUST be specified in the OptionalData field of the brush data object.
BrushDataFocusScales40This flag is meaningful in EmfPlusPathGradientBrushData objects. If set, anEmfPlusFocusScaleData object (section 2.2.2.18) MUST be specified in the OptionalData field of the brush data object.
BrushDataIsGammaCorrected80This flag is meaningful in EmfPlusLinearGradientBrushData, EmfPlusPathGradientBrushData, and EmfPlusTextureBrushData objects. If set, the brush MUST already be gamma corrected; that is, output brightness and intensity have been corrected to match the input image.
BrushDataDoNotTransform100This flag is meaningful in EmfPlusTextureBrushData objects. If set, a world space to device space transform SHOULD NOT be applied to the texture brush.

See Also