Add a .gitattributes with "* text=auto" so that new lines are
[pdfium.git] / core / src / fxge / Microsoft SDK / include / GdiPlusColorMatrix.h
1 /**************************************************************************\
2 *
3 * Copyright (c) 1998-2000, Microsoft Corp.  All Rights Reserved.
4 *
5 * Module Name:
6 *
7 *   GdiplusColorMatrix.h
8 *
9 * Abstract:
10 *
11 *   Class for color adjustment object passed to Graphics.DrawImage
12 *
13 \**************************************************************************/
14
15 #ifndef _GDIPLUSCOLORMATRIX_H
16 #define _GDIPLUSCOLORMATRIX_H
17
18 //----------------------------------------------------------------------------
19 // Color matrix
20 //----------------------------------------------------------------------------
21
22 struct ColorMatrix
23 {
24     REAL m[5][5];
25 };
26
27 //----------------------------------------------------------------------------
28 // Color Matrix flags
29 //----------------------------------------------------------------------------
30
31 enum ColorMatrixFlags
32 {
33     ColorMatrixFlagsDefault   = 0,
34     ColorMatrixFlagsSkipGrays = 1,
35     ColorMatrixFlagsAltGray   = 2
36 };
37
38 //----------------------------------------------------------------------------
39 // Color Adjust Type
40 //----------------------------------------------------------------------------
41
42 enum ColorAdjustType
43 {
44     ColorAdjustTypeDefault,
45     ColorAdjustTypeBitmap,
46     ColorAdjustTypeBrush,
47     ColorAdjustTypePen,
48     ColorAdjustTypeText,
49     ColorAdjustTypeCount,   // must be immediately after all the individual ones
50     ColorAdjustTypeAny      // internal use: for querying if any type has recoloring
51 };
52
53 //----------------------------------------------------------------------------
54 // Color Map
55 //----------------------------------------------------------------------------
56
57 struct ColorMap
58 {
59     Color oldColor;
60     Color newColor;
61 };
62
63 #endif