ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

gdipluscolormatrix.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2007 Google (Evan Stade)
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #ifndef _GDIPLUSCOLORMATRIX_H
00020 #define _GDIPLUSCOLORMATRIX_H
00021 
00022 struct ColorMatrix
00023 {
00024     REAL m[5][5];
00025 };
00026 
00027 enum ColorMatrixFlags
00028 {
00029     ColorMatrixFlagsDefault    = 0,
00030     ColorMatrixFlagsSkipGrays  = 1,
00031     ColorMatrixFlagsAltGray    = 2
00032 };
00033 
00034 enum ColorAdjustType
00035 {
00036     ColorAdjustTypeDefault,
00037     ColorAdjustTypeBitmap,
00038     ColorAdjustTypeBrush,
00039     ColorAdjustTypePen,
00040     ColorAdjustTypeText,
00041     ColorAdjustTypeCount,
00042     ColorAdjustTypeAny
00043 };
00044 
00045 struct ColorMap
00046 {
00047     Color oldColor;
00048     Color newColor;
00049 };
00050 
00051 #ifndef __cplusplus
00052 
00053 typedef enum ColorAdjustType ColorAdjustType;
00054 typedef enum ColorMatrixFlags ColorMatrixFlags;
00055 typedef struct ColorMatrix ColorMatrix;
00056 typedef struct ColorMap ColorMap;
00057 
00058 #endif  /* end of c typedefs */
00059 
00060 #endif  /* _GDIPLUSCOLORMATRIX_H */

Generated on Mon May 28 2012 04:31:18 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.