gdiplus: Add a stub for GdipSetImageAttributesRemapTable.
This commit is contained in:
parent
f4575aaa5f
commit
65445b9e7e
|
@ -528,7 +528,7 @@
|
|||
@ stdcall GdipSetImageAttributesNoOp(ptr long long)
|
||||
@ stdcall GdipSetImageAttributesOutputChannel(ptr long long long)
|
||||
@ stdcall GdipSetImageAttributesOutputChannelColorProfile(ptr long long ptr)
|
||||
@ stub GdipSetImageAttributesRemapTable
|
||||
@ stdcall GdipSetImageAttributesRemapTable(ptr long long long ptr)
|
||||
@ stub GdipSetImageAttributesThreshold
|
||||
@ stub GdipSetImageAttributesToIdentity
|
||||
@ stdcall GdipSetImageAttributesWrapMode(ptr long long long)
|
||||
|
|
|
@ -146,3 +146,15 @@ GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile(GpImageAttri
|
|||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipSetImageAttributesRemapTable(GpImageAttributes *imageAttr,
|
||||
ColorAdjustType type, BOOL enableFlag, UINT mapSize,
|
||||
GDIPCONST ColorMap *map)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,21 @@ enum ColorChannelFlags
|
|||
ColorChannelFlagsLast
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifdef __cplusplus
|
||||
|
||||
/* FIXME: missing the methods. */
|
||||
class Color
|
||||
{
|
||||
protected:
|
||||
ARGB Argb;
|
||||
};
|
||||
|
||||
#else /* end of c++ typedefs */
|
||||
|
||||
typedef struct Color
|
||||
{
|
||||
ARGB Argb;
|
||||
} Color;
|
||||
|
||||
typedef enum ColorChannelFlags ColorChannelFlags;
|
||||
|
||||
|
|
|
@ -42,11 +42,18 @@ enum ColorAdjustType
|
|||
ColorAdjustTypeAny
|
||||
};
|
||||
|
||||
struct ColorMap
|
||||
{
|
||||
Color oldColor;
|
||||
Color newCOlor;
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
typedef enum ColorAdjustType ColorAdjustType;
|
||||
typedef enum ColorMatrixFlags ColorMatrixFlags;
|
||||
typedef struct ColorMatrix ColorMatrix;
|
||||
typedef struct ColorMap ColorMap;
|
||||
|
||||
#endif /* end of c typedefs */
|
||||
|
||||
|
|
|
@ -80,5 +80,6 @@ typedef DashStyle GpDashStyle;
|
|||
typedef MatrixOrder GpMatrixOrder;
|
||||
typedef Point GpPoint;
|
||||
typedef WrapMode GpWrapMode;
|
||||
typedef Color GpColor;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue