gdiplus: Added GdipSetImageAttributesColorKeys stub.
diff --git a/include/Makefile.in b/include/Makefile.in
index 05dc60e..9fb456a 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -164,6 +164,7 @@
fci.h \
fdi.h \
gdiplus.h \
+ gdipluscolormatrix.h \
gdiplusenums.h \
gdiplusflat.h \
gdiplusgpstubs.h \
diff --git a/include/gdiplus.h b/include/gdiplus.h
index 1f4ae78..9e72f52 100644
--- a/include/gdiplus.h
+++ b/include/gdiplus.h
@@ -34,6 +34,7 @@
#include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h"
#include "gdiplusimaging.h"
+#include "gdipluscolormatrix.h"
#include "gdiplusgpstubs.h"
namespace DllExports
@@ -52,6 +53,7 @@
#include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h"
#include "gdiplusimaging.h"
+#include "gdipluscolormatrix.h"
#include "gdiplusgpstubs.h"
#include "gdiplusflat.h"
diff --git a/include/gdipluscolormatrix.h b/include/gdipluscolormatrix.h
new file mode 100644
index 0000000..893471c
--- /dev/null
+++ b/include/gdipluscolormatrix.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2007 Google (Evan Stade)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef _GDIPLUSCOLORMATRIX_H
+#define _GDIPLUSCOLORMATRIX_H
+
+enum ColorAdjustType
+{
+ ColorAdjustTypeDefault,
+ ColorAdjustTypeBitmap,
+ ColorAdjustTypeBrush,
+ ColorAdjustTypePen,
+ ColorAdjustTypeText,
+ ColorAdjustTypeCount,
+ ColorAdjustTypeAny
+};
+
+#ifndef __cplusplus
+
+typedef enum ColorAdjustType ColorAdjustType;
+
+#endif /* end of c typedefs */
+
+#endif /* _GDIPLUSCOLORMATRIX_H */
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 4f0d88d..e8b067d 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -160,6 +160,8 @@
GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
+GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
+ ColorAdjustType,BOOL,ARGB,ARGB);
GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
ARGB,BOOL);