Author: akhaldi
Date: Thu Nov 17 22:31:42 2016
New Revision: 73269
URL:
http://svn.reactos.org/svn/reactos?rev=73269&view=rev
Log:
[PSDK] Update gdipluscolormatrix.h, gdiplusenums.h and gdiplusflat.h CORE-12409
Modified:
trunk/reactos/sdk/include/psdk/gdipluscolormatrix.h
trunk/reactos/sdk/include/psdk/gdiplusenums.h
trunk/reactos/sdk/include/psdk/gdiplusflat.h
Modified: trunk/reactos/sdk/include/psdk/gdipluscolormatrix.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/gdiplusco…
==============================================================================
--- trunk/reactos/sdk/include/psdk/gdipluscolormatrix.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/gdipluscolormatrix.h [iso-8859-1] Thu Nov 17 22:31:42
2016
@@ -48,10 +48,23 @@
Color newColor;
};
+enum HistogramFormat
+{
+ HistogramFormatARGB,
+ HistogramFormatPARGB,
+ HistogramFormatRGB,
+ HistogramFormatGray,
+ HistogramFormatB,
+ HistogramFormatG,
+ HistogramFormatR,
+ HistogramFormatA,
+};
+
#ifndef __cplusplus
typedef enum ColorAdjustType ColorAdjustType;
typedef enum ColorMatrixFlags ColorMatrixFlags;
+typedef enum HistogramFormat HistogramFormat;
typedef struct ColorMatrix ColorMatrix;
typedef struct ColorMap ColorMap;
Modified: trunk/reactos/sdk/include/psdk/gdiplusenums.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/gdiplusen…
==============================================================================
--- trunk/reactos/sdk/include/psdk/gdiplusenums.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/gdiplusenums.h [iso-8859-1] Thu Nov 17 22:31:42 2016
@@ -47,7 +47,7 @@
DriverStringOptionsCmapLookup = 1,
DriverStringOptionsVertical = 2,
DriverStringOptionsRealizedAdvance = 4,
- DriverStringOptionsLimitSubpixel = 4
+ DriverStringOptionsLimitSubpixel = 8
};
enum FillMode
Modified: trunk/reactos/sdk/include/psdk/gdiplusflat.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/gdiplusfl…
==============================================================================
--- trunk/reactos/sdk/include/psdk/gdiplusflat.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/gdiplusflat.h [iso-8859-1] Thu Nov 17 22:31:42 2016
@@ -41,6 +41,8 @@
/* Bitmap */
GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*);
GpStatus WINGDIPAPI
GdipBitmapCreateApplyEffect(GpBitmap**,INT,CGpEffect*,RECT*,RECT*,GpBitmap**,BOOL,VOID**,INT*);
+GpStatus WINGDIPAPI
GdipBitmapGetHistogram(GpBitmap*,HistogramFormat,UINT,UINT*,UINT*,UINT*,UINT*);
+GpStatus WINGDIPAPI GdipBitmapGetHistogramSize(HistogramFormat,UINT*);
GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
PixelFormat,BitmapData*);
@@ -262,6 +264,7 @@
GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB);
GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics*,GpRectF*);
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics*,GpRect*);
+GpStatus WINGDIPAPI GdipInitializePalette(ColorPalette*,PaletteType,INT,BOOL,GpBitmap*);
GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics*, BOOL*);
GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics*,REAL,REAL,BOOL*);
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics*,INT,INT,BOOL*);