19#ifndef _GDIPLUSIMAGEATTRIBUTES_H
20#define _GDIPLUSIMAGEATTRIBUTES_H
52 return SetStatus(DllExports::GdipSetImageAttributesColorMatrix(
59 return SetStatus(DllExports::GdipSetImageAttributesColorMatrix(
110 if (newImageAttr ==
NULL)
111 SetStatus(DllExports::GdipDisposeImageAttributes(clone));
120 DllExports::GdipGetImageAttributesAdjustedPalette(
nativeImageAttr, colorPalette, colorAdjustType));
144 return SetStatus(DllExports::GdipSetImageAttributesColorKeys(
190 return SetStatus(DllExports::GdipSetImageAttributesOutputChannelColorProfile(
Status ClearOutputChannel(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetColorMatrices(const ColorMatrix *colorMatrix, const ColorMatrix *grayMatrix, ColorMatrixFlags mode=ColorMatrixFlagsDefault, ColorAdjustType type=ColorAdjustTypeDefault)
Status SetToIdentity(ColorAdjustType type=ColorAdjustTypeDefault)
Status Reset(ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearRemapTable(ColorAdjustType type=ColorAdjustTypeDefault)
VOID SetNativeImageAttr(GpImageAttributes *imageAttr)
ImageAttributes(GpImageAttributes *imageAttr, Status status)
Status SetColorKey(const Color &colorLow, const Color &colorHigh, ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearGamma(ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearNoOp(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetRemapTable(UINT mapSize, const ColorMap *map, ColorAdjustType type=ColorAdjustTypeDefault)
Status SetOutputChannel(ColorChannelFlags channelFlags, ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearOutputChannelColorProfile(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetBrushRemapTable(UINT mapSize, ColorMap *map)
Status ClearColorMatrices(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetColorMatrix(const ColorMatrix *colorMatrix, ColorMatrixFlags mode=ColorMatrixFlagsDefault, ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearColorKey(ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearBrushRemapTable()
Status SetThreshold(REAL threshold, ColorAdjustType type=ColorAdjustTypeDefault)
Status SetOutputChannelColorProfile(const WCHAR *colorProfileFilename, ColorAdjustType type=ColorAdjustTypeDefault)
Status ClearColorMatrix(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetGamma(REAL gamma, ColorAdjustType type=ColorAdjustTypeDefault)
friend GpImageAttributes *& getNat(const ImageAttributes *ia)
ImageAttributes * Clone()
GpImageAttributes * nativeImageAttr
ImageAttributes(const ImageAttributes &)
Status SetWrapMode(WrapMode wrap, const Color &color=Color(), BOOL clamp=FALSE)
Status SetNoOp(ColorAdjustType type=ColorAdjustTypeDefault)
ImageAttributes & operator=(const ImageAttributes &)
Status ClearThreshold(ColorAdjustType type=ColorAdjustTypeDefault)
Status SetStatus(Status status) const
Status GetAdjustedPalette(ColorPalette *colorPalette, ColorAdjustType colorAdjustType)
#define wrap(journal, var)
@ ColorMatrixFlagsDefault
GLuint GLuint GLsizei GLenum type