expand: Initialize a variable (Coverity).
[wine/multimedia.git] / include / gdipluscolormatrix.h
blobfbf1b2a402f5b8ab8339947877e32d9a468a7b03
1 /*
2 * Copyright (C) 2007 Google (Evan Stade)
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _GDIPLUSCOLORMATRIX_H
20 #define _GDIPLUSCOLORMATRIX_H
22 struct ColorMatrix
24 REAL m[5][5];
27 enum ColorMatrixFlags
29 ColorMatrixFlagsDefault = 0,
30 ColorMatrixFlagsSkipGrays = 1,
31 ColorMatrixFlagsAltGray = 2
34 enum ColorAdjustType
36 ColorAdjustTypeDefault,
37 ColorAdjustTypeBitmap,
38 ColorAdjustTypeBrush,
39 ColorAdjustTypePen,
40 ColorAdjustTypeText,
41 ColorAdjustTypeCount,
42 ColorAdjustTypeAny
45 struct ColorMap
47 Color oldColor;
48 Color newColor;
51 #ifndef __cplusplus
53 typedef enum ColorAdjustType ColorAdjustType;
54 typedef enum ColorMatrixFlags ColorMatrixFlags;
55 typedef struct ColorMatrix ColorMatrix;
56 typedef struct ColorMap ColorMap;
58 #endif /* end of c typedefs */
60 #endif /* _GDIPLUSCOLORMATRIX_H */