Fix little spelling mistakes
[reactos.git] / reactos / include / gdipluscolormatrix.h
1 /*
2 * GdiPlusColorMatrix.h
3 *
4 * Windows GDI+
5 *
6 * This file is part of the w32api package.
7 *
8 * THIS SOFTWARE IS NOT COPYRIGHTED
9 *
10 * This source code is offered for use in the public domain. You may
11 * use, modify or distribute it freely.
12 *
13 * This code is distributed in the hope that it will be useful but
14 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15 * DISCLAIMED. This includes but is not limited to warranties of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 */
18
19 #ifndef _GDIPLUSCOLORMATRIX_H
20 #define _GDIPLUSCOLORMATRIX_H
21
22 #if __GNUC__ >= 3
23 #pragma GCC system_header
24 #endif
25
26 typedef struct {
27 Color oldColor;
28 Color newColor;
29 } ColorMap;
30
31 struct ColorMatrix {
32 REAL m[5][5];
33 };
34
35 typedef enum {
36 ColorAdjustTypeDefault = 0,
37 ColorAdjustTypeBitmap = 1,
38 ColorAdjustTypeBrush = 2,
39 ColorAdjustTypePen = 3,
40 ColorAdjustTypeText = 4,
41 ColorAdjustTypeCount = 5,
42 ColorAdjustTypeAny = 6
43 } ColorAdjustType;
44
45 typedef enum {
46 ColorMatrixFlagsDefault = 0,
47 ColorMatrixFlagsSkipGrays = 1,
48 ColorMatrixFlagsAltGray = 2
49 } ColorMatrixFlags;
50
51 #endif /* _GDIPLUSCOLORMATRIX_H */