mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +00:00
[SDK][INCLUDE] Formatting gdiplus headers (#2190)
Just code formatting. CORE-16585 $ clang-format -style=file -i sdk/include/psdk/gdiplus[a-z]*
This commit is contained in:
parent
8faf38ed22
commit
e7814f19fb
23 changed files with 6651 additions and 5056 deletions
|
@ -24,103 +24,104 @@ typedef UINT GraphicsContainer;
|
|||
|
||||
enum Unit
|
||||
{
|
||||
UnitWorld = 0,
|
||||
UnitDisplay = 1,
|
||||
UnitPixel = 2,
|
||||
UnitPoint = 3,
|
||||
UnitInch = 4,
|
||||
UnitDocument = 5,
|
||||
UnitMillimeter = 6
|
||||
UnitWorld = 0,
|
||||
UnitDisplay = 1,
|
||||
UnitPixel = 2,
|
||||
UnitPoint = 3,
|
||||
UnitInch = 4,
|
||||
UnitDocument = 5,
|
||||
UnitMillimeter = 6
|
||||
};
|
||||
|
||||
enum BrushType
|
||||
{
|
||||
BrushTypeSolidColor = 0,
|
||||
BrushTypeHatchFill = 1,
|
||||
BrushTypeTextureFill = 2,
|
||||
BrushTypePathGradient = 3,
|
||||
BrushTypeLinearGradient = 4
|
||||
BrushTypeSolidColor = 0,
|
||||
BrushTypeHatchFill = 1,
|
||||
BrushTypeTextureFill = 2,
|
||||
BrushTypePathGradient = 3,
|
||||
BrushTypeLinearGradient = 4
|
||||
};
|
||||
|
||||
enum DriverStringOptions
|
||||
{
|
||||
DriverStringOptionsCmapLookup = 1,
|
||||
DriverStringOptionsVertical = 2,
|
||||
DriverStringOptionsRealizedAdvance = 4,
|
||||
DriverStringOptionsLimitSubpixel = 8
|
||||
DriverStringOptionsCmapLookup = 1,
|
||||
DriverStringOptionsVertical = 2,
|
||||
DriverStringOptionsRealizedAdvance = 4,
|
||||
DriverStringOptionsLimitSubpixel = 8
|
||||
};
|
||||
|
||||
enum FillMode
|
||||
{
|
||||
FillModeAlternate = 0,
|
||||
FillModeWinding = 1
|
||||
FillModeAlternate = 0,
|
||||
FillModeWinding = 1
|
||||
};
|
||||
|
||||
enum LineCap
|
||||
{
|
||||
LineCapFlat = 0x00,
|
||||
LineCapSquare = 0x01,
|
||||
LineCapRound = 0x02,
|
||||
LineCapTriangle = 0x03,
|
||||
LineCapFlat = 0x00,
|
||||
LineCapSquare = 0x01,
|
||||
LineCapRound = 0x02,
|
||||
LineCapTriangle = 0x03,
|
||||
|
||||
LineCapNoAnchor = 0x10,
|
||||
LineCapSquareAnchor = 0x11,
|
||||
LineCapRoundAnchor = 0x12,
|
||||
LineCapDiamondAnchor = 0x13,
|
||||
LineCapArrowAnchor = 0x14,
|
||||
LineCapNoAnchor = 0x10,
|
||||
LineCapSquareAnchor = 0x11,
|
||||
LineCapRoundAnchor = 0x12,
|
||||
LineCapDiamondAnchor = 0x13,
|
||||
LineCapArrowAnchor = 0x14,
|
||||
|
||||
LineCapCustom = 0xff,
|
||||
LineCapAnchorMask = 0xf0
|
||||
LineCapCustom = 0xff,
|
||||
LineCapAnchorMask = 0xf0
|
||||
};
|
||||
|
||||
enum CustomLineCapType
|
||||
{
|
||||
CustomLineCapTypeDefault = 0,
|
||||
CustomLineCapTypeDefault = 0,
|
||||
CustomLineCapTypeAdjustableArrow = 1
|
||||
};
|
||||
|
||||
enum PathPointType{
|
||||
PathPointTypeStart = 0, /* start of a figure */
|
||||
PathPointTypeLine = 1,
|
||||
PathPointTypeBezier = 3,
|
||||
PathPointTypePathTypeMask = 7,
|
||||
PathPointTypePathDashMode = 16, /* not used */
|
||||
PathPointTypePathMarker = 32,
|
||||
PathPointTypeCloseSubpath = 128, /* end of a closed figure */
|
||||
PathPointTypeBezier3 = 3
|
||||
enum PathPointType
|
||||
{
|
||||
PathPointTypeStart = 0, /* start of a figure */
|
||||
PathPointTypeLine = 1,
|
||||
PathPointTypeBezier = 3,
|
||||
PathPointTypePathTypeMask = 7,
|
||||
PathPointTypePathDashMode = 16, /* not used */
|
||||
PathPointTypePathMarker = 32,
|
||||
PathPointTypeCloseSubpath = 128, /* end of a closed figure */
|
||||
PathPointTypeBezier3 = 3
|
||||
};
|
||||
|
||||
enum PenType
|
||||
{
|
||||
PenTypeSolidColor = BrushTypeSolidColor,
|
||||
PenTypeHatchFill = BrushTypeHatchFill,
|
||||
PenTypeTextureFill = BrushTypeTextureFill,
|
||||
PenTypePathGradient = BrushTypePathGradient,
|
||||
PenTypeLinearGradient = BrushTypeLinearGradient,
|
||||
PenTypeUnknown = -1
|
||||
PenTypeSolidColor = BrushTypeSolidColor,
|
||||
PenTypeHatchFill = BrushTypeHatchFill,
|
||||
PenTypeTextureFill = BrushTypeTextureFill,
|
||||
PenTypePathGradient = BrushTypePathGradient,
|
||||
PenTypeLinearGradient = BrushTypeLinearGradient,
|
||||
PenTypeUnknown = -1
|
||||
};
|
||||
|
||||
enum LineJoin
|
||||
{
|
||||
LineJoinMiter = 0,
|
||||
LineJoinBevel = 1,
|
||||
LineJoinRound = 2,
|
||||
LineJoinMiterClipped = 3
|
||||
LineJoinMiter = 0,
|
||||
LineJoinBevel = 1,
|
||||
LineJoinRound = 2,
|
||||
LineJoinMiterClipped = 3
|
||||
};
|
||||
|
||||
enum QualityMode
|
||||
{
|
||||
QualityModeInvalid = -1,
|
||||
QualityModeDefault = 0,
|
||||
QualityModeLow = 1,
|
||||
QualityModeHigh = 2
|
||||
QualityModeInvalid = -1,
|
||||
QualityModeDefault = 0,
|
||||
QualityModeLow = 1,
|
||||
QualityModeHigh = 2
|
||||
};
|
||||
|
||||
enum SmoothingMode
|
||||
{
|
||||
SmoothingModeInvalid = QualityModeInvalid,
|
||||
SmoothingModeDefault = QualityModeDefault,
|
||||
SmoothingModeHighSpeed = QualityModeLow,
|
||||
SmoothingModeInvalid = QualityModeInvalid,
|
||||
SmoothingModeDefault = QualityModeDefault,
|
||||
SmoothingModeHighSpeed = QualityModeLow,
|
||||
SmoothingModeHighQuality = QualityModeHigh,
|
||||
SmoothingModeNone,
|
||||
SmoothingModeAntiAlias
|
||||
|
@ -128,20 +129,20 @@ enum SmoothingMode
|
|||
|
||||
enum CompositingQuality
|
||||
{
|
||||
CompositingQualityInvalid = QualityModeInvalid,
|
||||
CompositingQualityDefault = QualityModeDefault,
|
||||
CompositingQualityHighSpeed = QualityModeLow,
|
||||
CompositingQualityHighQuality = QualityModeHigh,
|
||||
CompositingQualityInvalid = QualityModeInvalid,
|
||||
CompositingQualityDefault = QualityModeDefault,
|
||||
CompositingQualityHighSpeed = QualityModeLow,
|
||||
CompositingQualityHighQuality = QualityModeHigh,
|
||||
CompositingQualityGammaCorrected,
|
||||
CompositingQualityAssumeLinear
|
||||
};
|
||||
|
||||
enum InterpolationMode
|
||||
{
|
||||
InterpolationModeInvalid = QualityModeInvalid,
|
||||
InterpolationModeDefault = QualityModeDefault,
|
||||
InterpolationModeLowQuality = QualityModeLow,
|
||||
InterpolationModeHighQuality = QualityModeHigh,
|
||||
InterpolationModeInvalid = QualityModeInvalid,
|
||||
InterpolationModeDefault = QualityModeDefault,
|
||||
InterpolationModeLowQuality = QualityModeLow,
|
||||
InterpolationModeHighQuality = QualityModeHigh,
|
||||
InterpolationModeBilinear,
|
||||
InterpolationModeBicubic,
|
||||
InterpolationModeNearestNeighbor,
|
||||
|
@ -151,15 +152,15 @@ enum InterpolationMode
|
|||
|
||||
enum PenAlignment
|
||||
{
|
||||
PenAlignmentCenter = 0,
|
||||
PenAlignmentInset = 1
|
||||
PenAlignmentCenter = 0,
|
||||
PenAlignmentInset = 1
|
||||
};
|
||||
|
||||
enum PixelOffsetMode
|
||||
{
|
||||
PixelOffsetModeInvalid = QualityModeInvalid,
|
||||
PixelOffsetModeDefault = QualityModeDefault,
|
||||
PixelOffsetModeHighSpeed = QualityModeLow,
|
||||
PixelOffsetModeInvalid = QualityModeInvalid,
|
||||
PixelOffsetModeDefault = QualityModeDefault,
|
||||
PixelOffsetModeHighSpeed = QualityModeLow,
|
||||
PixelOffsetModeHighQuality = QualityModeHigh,
|
||||
PixelOffsetModeNone,
|
||||
PixelOffsetModeHalf
|
||||
|
@ -167,8 +168,8 @@ enum PixelOffsetMode
|
|||
|
||||
enum DashCap
|
||||
{
|
||||
DashCapFlat = 0,
|
||||
DashCapRound = 2,
|
||||
DashCapFlat = 0,
|
||||
DashCapRound = 2,
|
||||
DashCapTriangle = 3
|
||||
};
|
||||
|
||||
|
@ -185,7 +186,7 @@ enum DashStyle
|
|||
enum MatrixOrder
|
||||
{
|
||||
MatrixOrderPrepend = 0,
|
||||
MatrixOrderAppend = 1
|
||||
MatrixOrderAppend = 1
|
||||
};
|
||||
|
||||
enum ImageType
|
||||
|
@ -195,7 +196,8 @@ enum ImageType
|
|||
ImageTypeMetafile
|
||||
};
|
||||
|
||||
enum WarpMode {
|
||||
enum WarpMode
|
||||
{
|
||||
WarpModePerspective,
|
||||
WarpModeBilinear
|
||||
};
|
||||
|
@ -229,17 +231,17 @@ enum LinearGradientMode
|
|||
|
||||
enum EmfType
|
||||
{
|
||||
EmfTypeEmfOnly = MetafileTypeEmf,
|
||||
EmfTypeEmfOnly = MetafileTypeEmf,
|
||||
EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly,
|
||||
EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
|
||||
};
|
||||
|
||||
enum EmfToWmfBitsFlags
|
||||
{
|
||||
EmfToWmfBitsFlagsDefault = 0,
|
||||
EmfToWmfBitsFlagsEmbedEmf = 1,
|
||||
EmfToWmfBitsFlagsDefault = 0,
|
||||
EmfToWmfBitsFlagsEmbedEmf = 1,
|
||||
EmfToWmfBitsFlagsIncludePlaceable = 2,
|
||||
EmfToWmfBitsFlagsNoXORClip = 4
|
||||
EmfToWmfBitsFlagsNoXORClip = 4
|
||||
};
|
||||
|
||||
enum CompositingMode
|
||||
|
@ -260,88 +262,88 @@ enum TextRenderingHint
|
|||
|
||||
enum StringAlignment
|
||||
{
|
||||
StringAlignmentNear = 0,
|
||||
StringAlignmentCenter = 1,
|
||||
StringAlignmentFar = 2
|
||||
StringAlignmentNear = 0,
|
||||
StringAlignmentCenter = 1,
|
||||
StringAlignmentFar = 2
|
||||
};
|
||||
|
||||
enum StringDigitSubstitute
|
||||
enum StringDigitSubstitute
|
||||
{
|
||||
StringDigitSubstituteUser = 0,
|
||||
StringDigitSubstituteNone = 1,
|
||||
StringDigitSubstituteNational = 2,
|
||||
StringDigitSubstituteUser = 0,
|
||||
StringDigitSubstituteNone = 1,
|
||||
StringDigitSubstituteNational = 2,
|
||||
StringDigitSubstituteTraditional = 3
|
||||
};
|
||||
|
||||
enum StringFormatFlags
|
||||
{
|
||||
StringFormatFlagsDirectionRightToLeft = 0x00000001,
|
||||
StringFormatFlagsDirectionVertical = 0x00000002,
|
||||
StringFormatFlagsNoFitBlackBox = 0x00000004,
|
||||
StringFormatFlagsDisplayFormatControl = 0x00000020,
|
||||
StringFormatFlagsNoFontFallback = 0x00000400,
|
||||
StringFormatFlagsDirectionRightToLeft = 0x00000001,
|
||||
StringFormatFlagsDirectionVertical = 0x00000002,
|
||||
StringFormatFlagsNoFitBlackBox = 0x00000004,
|
||||
StringFormatFlagsDisplayFormatControl = 0x00000020,
|
||||
StringFormatFlagsNoFontFallback = 0x00000400,
|
||||
StringFormatFlagsMeasureTrailingSpaces = 0x00000800,
|
||||
StringFormatFlagsNoWrap = 0x00001000,
|
||||
StringFormatFlagsLineLimit = 0x00002000,
|
||||
StringFormatFlagsNoClip = 0x00004000
|
||||
StringFormatFlagsNoWrap = 0x00001000,
|
||||
StringFormatFlagsLineLimit = 0x00002000,
|
||||
StringFormatFlagsNoClip = 0x00004000
|
||||
};
|
||||
|
||||
enum StringTrimming
|
||||
{
|
||||
StringTrimmingNone = 0,
|
||||
StringTrimmingCharacter = 1,
|
||||
StringTrimmingWord = 2,
|
||||
StringTrimmingEllipsisCharacter = 3,
|
||||
StringTrimmingEllipsisWord = 4,
|
||||
StringTrimmingEllipsisPath = 5
|
||||
StringTrimmingNone = 0,
|
||||
StringTrimmingCharacter = 1,
|
||||
StringTrimmingWord = 2,
|
||||
StringTrimmingEllipsisCharacter = 3,
|
||||
StringTrimmingEllipsisWord = 4,
|
||||
StringTrimmingEllipsisPath = 5
|
||||
};
|
||||
|
||||
enum FontStyle
|
||||
{
|
||||
FontStyleRegular = 0,
|
||||
FontStyleBold = 1,
|
||||
FontStyleItalic = 2,
|
||||
FontStyleRegular = 0,
|
||||
FontStyleBold = 1,
|
||||
FontStyleItalic = 2,
|
||||
FontStyleBoldItalic = 3,
|
||||
FontStyleUnderline = 4,
|
||||
FontStyleStrikeout = 8
|
||||
FontStyleUnderline = 4,
|
||||
FontStyleStrikeout = 8
|
||||
};
|
||||
|
||||
enum HotkeyPrefix
|
||||
{
|
||||
HotkeyPrefixNone = 0,
|
||||
HotkeyPrefixShow = 1,
|
||||
HotkeyPrefixHide = 2
|
||||
HotkeyPrefixNone = 0,
|
||||
HotkeyPrefixShow = 1,
|
||||
HotkeyPrefixHide = 2
|
||||
};
|
||||
|
||||
enum ImageCodecFlags
|
||||
{
|
||||
ImageCodecFlagsEncoder = 1,
|
||||
ImageCodecFlagsDecoder = 2,
|
||||
ImageCodecFlagsSupportBitmap = 4,
|
||||
ImageCodecFlagsSupportVector = 8,
|
||||
ImageCodecFlagsSeekableEncode = 16,
|
||||
ImageCodecFlagsBlockingDecode = 32,
|
||||
ImageCodecFlagsBuiltin = 65536,
|
||||
ImageCodecFlagsSystem = 131072,
|
||||
ImageCodecFlagsUser = 262144
|
||||
ImageCodecFlagsEncoder = 1,
|
||||
ImageCodecFlagsDecoder = 2,
|
||||
ImageCodecFlagsSupportBitmap = 4,
|
||||
ImageCodecFlagsSupportVector = 8,
|
||||
ImageCodecFlagsSeekableEncode = 16,
|
||||
ImageCodecFlagsBlockingDecode = 32,
|
||||
ImageCodecFlagsBuiltin = 65536,
|
||||
ImageCodecFlagsSystem = 131072,
|
||||
ImageCodecFlagsUser = 262144
|
||||
};
|
||||
|
||||
enum ImageFlags
|
||||
{
|
||||
ImageFlagsNone = 0,
|
||||
ImageFlagsScalable = 0x0001,
|
||||
ImageFlagsHasAlpha = 0x0002,
|
||||
ImageFlagsHasTranslucent = 0x0004,
|
||||
ImageFlagsNone = 0,
|
||||
ImageFlagsScalable = 0x0001,
|
||||
ImageFlagsHasAlpha = 0x0002,
|
||||
ImageFlagsHasTranslucent = 0x0004,
|
||||
ImageFlagsPartiallyScalable = 0x0008,
|
||||
ImageFlagsColorSpaceRGB = 0x0010,
|
||||
ImageFlagsColorSpaceCMYK = 0x0020,
|
||||
ImageFlagsColorSpaceGRAY = 0x0040,
|
||||
ImageFlagsColorSpaceYCBCR = 0x0080,
|
||||
ImageFlagsColorSpaceYCCK = 0x0100,
|
||||
ImageFlagsHasRealDPI = 0x1000,
|
||||
ImageFlagsHasRealPixelSize = 0x2000,
|
||||
ImageFlagsReadOnly = 0x00010000,
|
||||
ImageFlagsCaching = 0x00020000
|
||||
ImageFlagsColorSpaceRGB = 0x0010,
|
||||
ImageFlagsColorSpaceCMYK = 0x0020,
|
||||
ImageFlagsColorSpaceGRAY = 0x0040,
|
||||
ImageFlagsColorSpaceYCBCR = 0x0080,
|
||||
ImageFlagsColorSpaceYCCK = 0x0100,
|
||||
ImageFlagsHasRealDPI = 0x1000,
|
||||
ImageFlagsHasRealPixelSize = 0x2000,
|
||||
ImageFlagsReadOnly = 0x00010000,
|
||||
ImageFlagsCaching = 0x00020000
|
||||
};
|
||||
|
||||
enum CombineMode
|
||||
|
@ -357,7 +359,7 @@ enum CombineMode
|
|||
enum FlushIntention
|
||||
{
|
||||
FlushIntentionFlush = 0,
|
||||
FlushIntentionSync = 1
|
||||
FlushIntentionSync = 1
|
||||
};
|
||||
|
||||
enum CoordinateSpace
|
||||
|
@ -369,87 +371,88 @@ enum CoordinateSpace
|
|||
|
||||
enum GpTestControlEnum
|
||||
{
|
||||
TestControlForceBilinear = 0,
|
||||
TestControlNoICM = 1,
|
||||
TestControlForceBilinear = 0,
|
||||
TestControlNoICM = 1,
|
||||
TestControlGetBuildNumber = 2
|
||||
};
|
||||
|
||||
enum MetafileFrameUnit
|
||||
{
|
||||
MetafileFrameUnitPixel = UnitPixel,
|
||||
MetafileFrameUnitPoint = UnitPoint,
|
||||
MetafileFrameUnitInch = UnitInch,
|
||||
MetafileFrameUnitDocument = UnitDocument,
|
||||
MetafileFrameUnitPixel = UnitPixel,
|
||||
MetafileFrameUnitPoint = UnitPoint,
|
||||
MetafileFrameUnitInch = UnitInch,
|
||||
MetafileFrameUnitDocument = UnitDocument,
|
||||
MetafileFrameUnitMillimeter = UnitMillimeter,
|
||||
MetafileFrameUnitGdi
|
||||
};
|
||||
|
||||
enum HatchStyle
|
||||
{
|
||||
HatchStyleHorizontal = 0,
|
||||
HatchStyleVertical = 1,
|
||||
HatchStyleForwardDiagonal = 2,
|
||||
HatchStyleBackwardDiagonal = 3,
|
||||
HatchStyleCross = 4,
|
||||
HatchStyleDiagonalCross = 5,
|
||||
HatchStyle05Percent = 6,
|
||||
HatchStyle10Percent = 7,
|
||||
HatchStyle20Percent = 8,
|
||||
HatchStyle25Percent = 9,
|
||||
HatchStyle30Percent = 10,
|
||||
HatchStyle40Percent = 11,
|
||||
HatchStyle50Percent = 12,
|
||||
HatchStyle60Percent = 13,
|
||||
HatchStyle70Percent = 14,
|
||||
HatchStyle75Percent = 15,
|
||||
HatchStyle80Percent = 16,
|
||||
HatchStyle90Percent = 17,
|
||||
HatchStyleLightDownwardDiagonal = 18,
|
||||
HatchStyleLightUpwardDiagonal = 19,
|
||||
HatchStyleDarkDownwardDiagonal = 20,
|
||||
HatchStyleDarkUpwardDiagonal = 21,
|
||||
HatchStyleWideDownwardDiagonal = 22,
|
||||
HatchStyleWideUpwardDiagonal = 23,
|
||||
HatchStyleLightVertical = 24,
|
||||
HatchStyleLightHorizontal = 25,
|
||||
HatchStyleNarrowVertical = 26,
|
||||
HatchStyleNarrowHorizontal = 27,
|
||||
HatchStyleDarkVertical = 28,
|
||||
HatchStyleDarkHorizontal = 29,
|
||||
HatchStyleDashedDownwardDiagonal = 30,
|
||||
HatchStyleDashedUpwardDiagonal = 31,
|
||||
HatchStyleDashedHorizontal = 32,
|
||||
HatchStyleDashedVertical = 33,
|
||||
HatchStyleSmallConfetti = 34,
|
||||
HatchStyleLargeConfetti = 35,
|
||||
HatchStyleZigZag = 36,
|
||||
HatchStyleWave = 37,
|
||||
HatchStyleDiagonalBrick = 38,
|
||||
HatchStyleHorizontalBrick = 39,
|
||||
HatchStyleWeave = 40,
|
||||
HatchStylePlaid = 41,
|
||||
HatchStyleDivot = 42,
|
||||
HatchStyleDottedGrid = 43,
|
||||
HatchStyleDottedDiamond = 44,
|
||||
HatchStyleShingle = 45,
|
||||
HatchStyleTrellis = 46,
|
||||
HatchStyleSphere = 47,
|
||||
HatchStyleSmallGrid = 48,
|
||||
HatchStyleSmallCheckerBoard = 49,
|
||||
HatchStyleLargeCheckerBoard = 50,
|
||||
HatchStyleOutlinedDiamond = 51,
|
||||
HatchStyleSolidDiamond = 52,
|
||||
HatchStyleTotal = 53,
|
||||
HatchStyleLargeGrid = HatchStyleCross,
|
||||
HatchStyleMin = HatchStyleHorizontal,
|
||||
HatchStyleMax = HatchStyleTotal - 1
|
||||
HatchStyleHorizontal = 0,
|
||||
HatchStyleVertical = 1,
|
||||
HatchStyleForwardDiagonal = 2,
|
||||
HatchStyleBackwardDiagonal = 3,
|
||||
HatchStyleCross = 4,
|
||||
HatchStyleDiagonalCross = 5,
|
||||
HatchStyle05Percent = 6,
|
||||
HatchStyle10Percent = 7,
|
||||
HatchStyle20Percent = 8,
|
||||
HatchStyle25Percent = 9,
|
||||
HatchStyle30Percent = 10,
|
||||
HatchStyle40Percent = 11,
|
||||
HatchStyle50Percent = 12,
|
||||
HatchStyle60Percent = 13,
|
||||
HatchStyle70Percent = 14,
|
||||
HatchStyle75Percent = 15,
|
||||
HatchStyle80Percent = 16,
|
||||
HatchStyle90Percent = 17,
|
||||
HatchStyleLightDownwardDiagonal = 18,
|
||||
HatchStyleLightUpwardDiagonal = 19,
|
||||
HatchStyleDarkDownwardDiagonal = 20,
|
||||
HatchStyleDarkUpwardDiagonal = 21,
|
||||
HatchStyleWideDownwardDiagonal = 22,
|
||||
HatchStyleWideUpwardDiagonal = 23,
|
||||
HatchStyleLightVertical = 24,
|
||||
HatchStyleLightHorizontal = 25,
|
||||
HatchStyleNarrowVertical = 26,
|
||||
HatchStyleNarrowHorizontal = 27,
|
||||
HatchStyleDarkVertical = 28,
|
||||
HatchStyleDarkHorizontal = 29,
|
||||
HatchStyleDashedDownwardDiagonal = 30,
|
||||
HatchStyleDashedUpwardDiagonal = 31,
|
||||
HatchStyleDashedHorizontal = 32,
|
||||
HatchStyleDashedVertical = 33,
|
||||
HatchStyleSmallConfetti = 34,
|
||||
HatchStyleLargeConfetti = 35,
|
||||
HatchStyleZigZag = 36,
|
||||
HatchStyleWave = 37,
|
||||
HatchStyleDiagonalBrick = 38,
|
||||
HatchStyleHorizontalBrick = 39,
|
||||
HatchStyleWeave = 40,
|
||||
HatchStylePlaid = 41,
|
||||
HatchStyleDivot = 42,
|
||||
HatchStyleDottedGrid = 43,
|
||||
HatchStyleDottedDiamond = 44,
|
||||
HatchStyleShingle = 45,
|
||||
HatchStyleTrellis = 46,
|
||||
HatchStyleSphere = 47,
|
||||
HatchStyleSmallGrid = 48,
|
||||
HatchStyleSmallCheckerBoard = 49,
|
||||
HatchStyleLargeCheckerBoard = 50,
|
||||
HatchStyleOutlinedDiamond = 51,
|
||||
HatchStyleSolidDiamond = 52,
|
||||
HatchStyleTotal = 53,
|
||||
HatchStyleLargeGrid = HatchStyleCross,
|
||||
HatchStyleMin = HatchStyleHorizontal,
|
||||
HatchStyleMax = HatchStyleTotal - 1
|
||||
};
|
||||
|
||||
#define GDIP_EMFPLUS_RECORD_BASE 0x00004000
|
||||
#define GDIP_WMF_RECORD_BASE 0x00010000
|
||||
#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((x)|GDIP_WMF_RECORD_BASE)
|
||||
#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((x) | GDIP_WMF_RECORD_BASE)
|
||||
|
||||
enum EmfPlusRecordType {
|
||||
enum EmfPlusRecordType
|
||||
{
|
||||
WmfRecordTypeSetBkColor = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR),
|
||||
WmfRecordTypeSetBkMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE),
|
||||
WmfRecordTypeSetMapMode = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE),
|
||||
|
@ -713,7 +716,7 @@ enum EmfPlusRecordType {
|
|||
EmfPlusRecordTypeSetTSGraphics,
|
||||
EmfPlusRecordTypeSetTSClip,
|
||||
EmfPlusRecordTotal,
|
||||
EmfPlusRecordTypeMax = EmfPlusRecordTotal-1,
|
||||
EmfPlusRecordTypeMax = EmfPlusRecordTotal - 1,
|
||||
EmfPlusRecordTypeMin = EmfPlusRecordTypeHeader
|
||||
};
|
||||
|
||||
|
@ -767,6 +770,6 @@ typedef enum EmfPlusRecordType EmfPlusRecordType;
|
|||
#endif /* end of c typedefs */
|
||||
|
||||
#undef GDIP_WMF_RECORD_TO_EMFPLUS
|
||||
#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((EmfPlusRecordType)((x)|GDIP_WMF_RECORD_BASE))
|
||||
#define GDIP_WMF_RECORD_TO_EMFPLUS(x) ((EmfPlusRecordType)((x) | GDIP_WMF_RECORD_BASE))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue