ReactOS  0.4.15-dev-1033-gd7d716a
Image Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for Image:
Collaboration diagram for Image:

Public Member Functions

 Image (IStream *stream, BOOL useEmbeddedColorManagement=FALSE)
 
 Image (const WCHAR *filename, BOOL useEmbeddedColorManagement=FALSE)
 
ImageClone ()
 
virtual ~Image ()
 
Status GetAllPropertyItems (UINT totalBufferSize, UINT numProperties, PropertyItem *allItems)
 
Status GetBounds (RectF *srcRect, Unit *srcUnit)
 
Status GetEncoderParameterList (const CLSID *clsidEncoder, UINT size, EncoderParameters *buffer)
 
UINT GetEncoderParameterListSize (const CLSID *clsidEncoder)
 
UINT GetFlags ()
 
UINT GetFrameCount (const GUID *dimensionID)
 
UINT GetFrameDimensionsCount ()
 
Status GetFrameDimensionsList (GUID *dimensionIDs, UINT count)
 
UINT GetHeight ()
 
REAL GetHorizontalResolution ()
 
Status GetLastStatus ()
 
Status GetPalette (ColorPalette *palette, INT size)
 
INT GetPaletteSize ()
 
Status GetPhysicalDimension (SizeF *size)
 
PixelFormat GetPixelFormat ()
 
UINT GetPropertyCount ()
 
Status GetPropertyIdList (UINT numOfProperty, PROPID *list)
 
Status GetPropertyItem (PROPID propId, UINT propSize, PropertyItem *buffer)
 
UINT GetPropertyItemSize (PROPID propId)
 
Status GetPropertySize (UINT *totalBufferSize, UINT *numProperties)
 
Status GetRawFormat (GUID *format)
 
ImageGetThumbnailImage (UINT thumbWidth, UINT thumbHeight, GetThumbnailImageAbort callback, VOID *callbackData)
 
ImageType GetType ()
 
REAL GetVerticalResolution ()
 
UINT GetWidth ()
 
Status RemovePropertyItem (PROPID propId)
 
Status RotateFlip (RotateFlipType rotateFlipType)
 
Status Save (IStream *stream, const CLSID *clsidEncoder, const EncoderParameters *encoderParams)
 
Status Save (const WCHAR *filename, const CLSID *clsidEncoder, const EncoderParameters *encoderParams)
 
Status SaveAdd (const EncoderParameters *encoderParams)
 
Status SaveAdd (Image *newImage, const EncoderParameters *encoderParams)
 
Status SelectActiveFrame (const GUID *dimensionID, UINT frameIndex)
 
Status SetPalette (const ColorPalette *palette)
 
Status SetPropertyItem (const PropertyItem *item)
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Static Public Member Functions

static ImageFromFile (const WCHAR *filename, BOOL useEmbeddedColorManagement=FALSE)
 
static ImageFromStream (IStream *stream, BOOL useEmbeddedColorManagement=FALSE)
 

Protected Member Functions

 Image ()
 
 Image (GpImage *image, Status status)
 
Status SetStatus (Status status) const
 
void SetNativeImage (GpImage *image)
 

Protected Attributes

GpImagenativeImage
 
Status lastStatus
 

Private Member Functions

 Image (const Image &)
 
Imageoperator= (const Image &)
 

Friends

class Graphics
 
class TextureBrush
 
GpImage *& getNat (const Image *image)
 

Detailed Description

Definition at line 22 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ Image() [1/5]

Image::Image ( IStream stream,
BOOL  useEmbeddedColorManagement = FALSE 
)
inline

Definition at line 28 of file gdiplusheaders.h.

28  : nativeImage(NULL)
29  {
30  if (useEmbeddedColorManagement)
32  else
34  }
GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream *stream, GpImage **image)
Definition: image.c:4392
GpImage * nativeImage
GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream *stream, GpImage **image)
Definition: image.c:4357
smooth NULL
Definition: ftsmooth.c:416
Status lastStatus
Definition: parse.h:22

◆ Image() [2/5]

Image::Image ( const WCHAR filename,
BOOL  useEmbeddedColorManagement = FALSE 
)
inline

Definition at line 36 of file gdiplusheaders.h.

36  : nativeImage(NULL)
37  {
38  if (useEmbeddedColorManagement)
40  else
42  }
GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR *filename, GpImage **image)
Definition: image.c:2928
const char * filename
Definition: ioapi.h:135
GpImage * nativeImage
smooth NULL
Definition: ftsmooth.c:416
Status lastStatus
GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR *filename, GpImage **image)
Definition: image.c:2954

◆ ~Image()

virtual Image::~Image ( )
inlinevirtual

Definition at line 52 of file gdiplusheaders.h.

53  {
55  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
Definition: image.c:2107

◆ Image() [3/5]

Image::Image ( )
inlineprotected

Definition at line 342 of file gdiplusheaders.h.

343  {
344  }

Referenced by Clone(), FromFile(), FromStream(), and GetThumbnailImage().

◆ Image() [4/5]

Image::Image ( GpImage image,
Status  status 
)
inlineprotected

Definition at line 346 of file gdiplusheaders.h.

347  {
348  }
GpImage * nativeImage
Status lastStatus
Definition: ps.c:97

◆ Image() [5/5]

Image::Image ( const Image )
private

Member Function Documentation

◆ Clone()

Image* Image::Clone ( )
inline

Definition at line 45 of file gdiplusheaders.h.

46  {
47  GpImage *cloneimage = NULL;
49  return new Image(cloneimage, lastStatus);
50  }
GpStatus WINGDIPAPI GdipCloneImage(GpImage *image, GpImage **cloneImage)
Definition: image.c:1308
GpImage * nativeImage
smooth NULL
Definition: ftsmooth.c:416
Status lastStatus
Status SetStatus(Status status) const

Referenced by Bitmap::Clone().

◆ FromFile()

static Image* Image::FromFile ( const WCHAR filename,
BOOL  useEmbeddedColorManagement = FALSE 
)
inlinestatic

Definition at line 58 of file gdiplusheaders.h.

59  {
60  return new Image(filename, useEmbeddedColorManagement);
61  }
const char * filename
Definition: ioapi.h:135

◆ FromStream()

static Image* Image::FromStream ( IStream stream,
BOOL  useEmbeddedColorManagement = FALSE 
)
inlinestatic

Definition at line 64 of file gdiplusheaders.h.

65  {
66  return new Image(stream, useEmbeddedColorManagement);
67  }
Definition: parse.h:22

◆ GetAllPropertyItems()

Status Image::GetAllPropertyItems ( UINT  totalBufferSize,
UINT  numProperties,
PropertyItem allItems 
)
inline

Definition at line 70 of file gdiplusheaders.h.

71  {
72  if (allItems == NULL)
74  return SetStatus(DllExports::GdipGetAllPropertyItems(nativeImage, totalBufferSize, numProperties, allItems));
75  }
GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage *image, UINT size, UINT count, PropertyItem *buf)
Definition: image.c:2757
GpImage * nativeImage
smooth NULL
Definition: ftsmooth.c:416
Status SetStatus(Status status) const

◆ GetBounds()

Status Image::GetBounds ( RectF srcRect,
Unit srcUnit 
)
inline

Definition at line 78 of file gdiplusheaders.h.

79  {
80  return SetStatus(DllExports::GdipGetImageBounds(nativeImage, srcRect, srcUnit));
81  }
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect, GpUnit *srcUnit)
Definition: image.c:2148
GpImage * nativeImage
Status SetStatus(Status status) const

◆ GetEncoderParameterList()

Status Image::GetEncoderParameterList ( const CLSID clsidEncoder,
UINT  size,
EncoderParameters buffer 
)
inline

Definition at line 84 of file gdiplusheaders.h.

85  {
86 #if 1
87  return SetStatus(NotImplemented);
88 #else
89  return SetStatus(DllExports::GdipGetEncoderParameterList(nativeImage, clsidEncoder, size, buffer));
90 #endif
91  }
GLuint buffer
Definition: glext.h:5915
GpImage * nativeImage
GLsizeiptr size
Definition: glext.h:5919
Status SetStatus(Status status) const

◆ GetEncoderParameterListSize()

UINT Image::GetEncoderParameterListSize ( const CLSID clsidEncoder)
inline

Definition at line 94 of file gdiplusheaders.h.

95  {
96  UINT size = 0;
98  return size;
99  }
GpImage * nativeImage
GLsizeiptr size
Definition: glext.h:5919
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50
GpStatus WINGDIPAPI GdipGetEncoderParameterListSize(GpImage *image, GDIPCONST CLSID *clsidEncoder, UINT *size)
Definition: image.c:5045

◆ GetFlags()

UINT Image::GetFlags ( )
inline

Definition at line 102 of file gdiplusheaders.h.

103  {
104  UINT flags = 0;
106  return flags;
107  }
GpStatus WINGDIPAPI GdipGetImageFlags(GpImage *image, UINT *flags)
Definition: image.c:5266
GpImage * nativeImage
GLbitfield flags
Definition: glext.h:7161
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

◆ GetFrameCount()

UINT Image::GetFrameCount ( const GUID dimensionID)
inline

Definition at line 110 of file gdiplusheaders.h.

111  {
112  UINT count = 0;
114  return count;
115  }
GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image, GDIPCONST GUID *dimensionID, UINT *count)
Definition: image.c:2865
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpImage * nativeImage
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

◆ GetFrameDimensionsCount()

UINT Image::GetFrameDimensionsCount ( )
inline

Definition at line 118 of file gdiplusheaders.h.

119  {
120  UINT count = 0;
122  return count;
123  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpImage * nativeImage
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image, UINT *count)
Definition: image.c:2885

◆ GetFrameDimensionsList()

Status Image::GetFrameDimensionsList ( GUID dimensionIDs,
UINT  count 
)
inline

Definition at line 126 of file gdiplusheaders.h.

127  {
129  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpImage * nativeImage
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage *image, GUID *dimensionIDs, UINT count)
Definition: image.c:2900

◆ GetHeight()

UINT Image::GetHeight ( )
inline

Definition at line 132 of file gdiplusheaders.h.

133  {
134  UINT height = 0;
136  return height;
137  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage *image, UINT *height)
Definition: image.c:2239
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

Referenced by CAppScrnshotPreview::GetRequestedWidth(), and CAppScrnshotPreview::PaintOnDC().

◆ GetHorizontalResolution()

REAL Image::GetHorizontalResolution ( )
inline

Definition at line 140 of file gdiplusheaders.h.

141  {
142  REAL resolution = 0.0f;
144  return resolution;
145  }
GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage *image, REAL *res)
Definition: image.c:2261
GpImage * nativeImage
Status SetStatus(Status status) const
float REAL
Definition: types.h:41

◆ GetLastStatus()

Status Image::GetLastStatus ( )
inline

Definition at line 148 of file gdiplusheaders.h.

149  {
150  return lastStatus;
151  }
Status lastStatus

Referenced by CAppScrnshotPreview::DisplayFile().

◆ GetPalette()

Status Image::GetPalette ( ColorPalette palette,
INT  size 
)
inline

Definition at line 154 of file gdiplusheaders.h.

155  {
157  }
GpStatus WINGDIPAPI GdipGetImagePalette(GpImage *image, ColorPalette *palette, INT size)
Definition: image.c:4662
GpImage * nativeImage
GLsizeiptr size
Definition: glext.h:5919
static HPALETTE palette
Definition: clipboard.c:1345
Status SetStatus(Status status) const

◆ GetPaletteSize()

INT Image::GetPaletteSize ( )
inline

Definition at line 160 of file gdiplusheaders.h.

161  {
162  INT size = 0;
164  return size;
165  }
int32_t INT
Definition: typedefs.h:58
GpImage * nativeImage
GLsizeiptr size
Definition: glext.h:5919
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetImagePaletteSize(GpImage *image, INT *size)
Definition: image.c:2273

◆ GetPhysicalDimension()

Status Image::GetPhysicalDimension ( SizeF *  size)
inline

Definition at line 168 of file gdiplusheaders.h.

169  {
170  if (size == NULL)
171  return SetStatus(InvalidParameter);
172 
174  }
GpImage * nativeImage
smooth NULL
Definition: ftsmooth.c:416
GLsizeiptr size
Definition: glext.h:5919
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetImageDimension(GpImage *image, REAL *width, REAL *height)
Definition: image.c:2176

◆ GetPixelFormat()

PixelFormat Image::GetPixelFormat ( )
inline

Definition at line 177 of file gdiplusheaders.h.

178  {
181  return format;
182  }
GpImage * nativeImage
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage *image, PixelFormat *format)
Definition: image.c:2291
INT PixelFormat
Status SetStatus(Status status) const

◆ GetPropertyCount()

UINT Image::GetPropertyCount ( )
inline

Definition at line 185 of file gdiplusheaders.h.

186  {
187  UINT numOfProperty = 0;
189  return numOfProperty;
190  }
GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage *image, UINT *num)
Definition: image.c:2364
GpImage * nativeImage
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

◆ GetPropertyIdList()

Status Image::GetPropertyIdList ( UINT  numOfProperty,
PROPID list 
)
inline

Definition at line 193 of file gdiplusheaders.h.

194  {
196  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage *image, UINT num, PROPID *list)
Definition: image.c:2387
Definition: _list.h:228
Status SetStatus(Status status) const

◆ GetPropertyItem()

Status Image::GetPropertyItem ( PROPID  propId,
UINT  propSize,
PropertyItem buffer 
)
inline

Definition at line 199 of file gdiplusheaders.h.

200  {
201  return SetStatus(DllExports::GdipGetPropertyItem(nativeImage, propId, propSize, buffer));
202  }
GLuint buffer
Definition: glext.h:5915
GpImage * nativeImage
GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage *image, PROPID propid, UINT size, PropertyItem *buffer)
Definition: image.c:2634
Status SetStatus(Status status) const

◆ GetPropertyItemSize()

UINT Image::GetPropertyItemSize ( PROPID  propId)
inline

Definition at line 205 of file gdiplusheaders.h.

206  {
207  UINT size = 0;
209  return size;
210  }
GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage *image, PROPID propid, UINT *size)
Definition: image.c:2488
GpImage * nativeImage
GLsizeiptr size
Definition: glext.h:5919
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

◆ GetPropertySize()

Status Image::GetPropertySize ( UINT totalBufferSize,
UINT numProperties 
)
inline

Definition at line 213 of file gdiplusheaders.h.

214  {
215  return SetStatus(DllExports::GdipGetPropertySize(nativeImage, totalBufferSize, numProperties));
216  }
GpImage * nativeImage
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipGetPropertySize(GpImage *image, UINT *size, UINT *count)
Definition: image.c:2687

◆ GetRawFormat()

Status Image::GetRawFormat ( GUID format)
inline

Definition at line 219 of file gdiplusheaders.h.

220  {
222  }
GpImage * nativeImage
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
Definition: image.c:2306
Status SetStatus(Status status) const

◆ GetThumbnailImage()

Image* Image::GetThumbnailImage ( UINT  thumbWidth,
UINT  thumbHeight,
GetThumbnailImageAbort  callback,
VOID callbackData 
)
inline

Definition at line 225 of file gdiplusheaders.h.

226  {
227  GpImage *thumbImage = NULL;
229  nativeImage, thumbWidth, thumbHeight, &thumbImage, callback, callbackData));
230  Image *newImage = new Image(thumbImage, lastStatus);
231  if (newImage == NULL)
232  {
233  DllExports::GdipDisposeImage(thumbImage);
234  }
235  return newImage;
236  }
GpImage * nativeImage
smooth NULL
Definition: ftsmooth.c:416
Status lastStatus
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
GpStatus WINGDIPAPI GdipGetImageThumbnail(GpImage *image, UINT width, UINT height, GpImage **ret_image, GetThumbnailImageAbort cb, VOID *cb_data)
Definition: image.c:5309
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
Definition: image.c:2107
Status SetStatus(Status status) const

◆ GetType()

ImageType Image::GetType ( )
inline

Definition at line 239 of file gdiplusheaders.h.

240  {
241  ImageType type;
243  return type;
244  }
GpStatus WINGDIPAPI GdipGetImageType(GpImage *image, ImageType *type)
Definition: image.c:2318
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GpImage * nativeImage
Status SetStatus(Status status) const
ImageType
Definition: gdiplusenums.h:192

◆ GetVerticalResolution()

REAL Image::GetVerticalResolution ( )
inline

Definition at line 247 of file gdiplusheaders.h.

248  {
249  REAL resolution = 0.0f;
251  return resolution;
252  }
GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage *image, REAL *res)
Definition: image.c:2330
GpImage * nativeImage
Status SetStatus(Status status) const
float REAL
Definition: types.h:41

◆ GetWidth()

UINT Image::GetWidth ( )
inline

Definition at line 255 of file gdiplusheaders.h.

256  {
257  UINT width = 0;
259  return width;
260  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipGetImageWidth(GpImage *image, UINT *width)
Definition: image.c:2342
GpImage * nativeImage
Status SetStatus(Status status) const
unsigned int UINT
Definition: ndis.h:50

Referenced by CAppScrnshotPreview::GetRequestedWidth(), and CAppScrnshotPreview::PaintOnDC().

◆ operator=()

Image& Image::operator= ( const Image )
private

◆ RemovePropertyItem()

Status Image::RemovePropertyItem ( PROPID  propId)
inline

Definition at line 263 of file gdiplusheaders.h.

264  {
266  }
GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage *image, PROPID propId)
Definition: image.c:4399
GpImage * nativeImage
Status SetStatus(Status status) const

◆ RotateFlip()

Status Image::RotateFlip ( RotateFlipType  rotateFlipType)
inline

Definition at line 269 of file gdiplusheaders.h.

270  {
271  return SetStatus(DllExports::GdipImageRotateFlip(nativeImage, rotateFlipType));
272  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage *image, RotateFlipType type)
Definition: image.c:5358
Status SetStatus(Status status) const

◆ Save() [1/2]

Status Image::Save ( IStream stream,
const CLSID clsidEncoder,
const EncoderParameters encoderParams 
)
inline

Definition at line 275 of file gdiplusheaders.h.

276  {
277  return SetStatus(DllExports::GdipSaveImageToStream(nativeImage, stream, clsidEncoder, encoderParams));
278  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage *image, IStream *stream, GDIPCONST CLSID *clsid, GDIPCONST EncoderParameters *params)
Definition: image.c:4623
Definition: parse.h:22
Status SetStatus(Status status) const

◆ Save() [2/2]

Status Image::Save ( const WCHAR filename,
const CLSID clsidEncoder,
const EncoderParameters encoderParams 
)
inline

Definition at line 281 of file gdiplusheaders.h.

282  {
283  return SetStatus(DllExports::GdipSaveImageToFile(nativeImage, filename, clsidEncoder, encoderParams));
284  }
GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage *image, GDIPCONST WCHAR *filename, GDIPCONST CLSID *clsidEncoder, GDIPCONST EncoderParameters *encoderParams)
Definition: image.c:4428
const char * filename
Definition: ioapi.h:135
GpImage * nativeImage
Status SetStatus(Status status) const

◆ SaveAdd() [1/2]

Status Image::SaveAdd ( const EncoderParameters encoderParams)
inline

Definition at line 287 of file gdiplusheaders.h.

288  {
289  return SetStatus(DllExports::GdipSaveAdd(nativeImage, encoderParams));
290  }
GpStatus WINGDIPAPI GdipSaveAdd(GpImage *image, GDIPCONST EncoderParameters *params)
Definition: image.c:4653
GpImage * nativeImage
Status SetStatus(Status status) const

◆ SaveAdd() [2/2]

Status Image::SaveAdd ( Image newImage,
const EncoderParameters encoderParams 
)
inline

Definition at line 293 of file gdiplusheaders.h.

294  {
295 #if 1
296  // FIXME: Not available yet
297  return SetStatus(NotImplemented);
298 #else
299  if (!newImage)
300  return SetStatus(InvalidParameter);
301 
302  return SetStatus(DllExports::GdipSaveAddImage(nativeImage, getNat(newImage), encoderParams));
303 #endif
304  }
friend GpImage *& getNat(const Image *image)
GpImage * nativeImage
Status SetStatus(Status status) const

◆ SelectActiveFrame()

Status Image::SelectActiveFrame ( const GUID dimensionID,
UINT  frameIndex 
)
inline

Definition at line 307 of file gdiplusheaders.h.

308  {
309  return SetStatus(DllExports::GdipImageSelectActiveFrame(nativeImage, dimensionID, frameIndex));
310  }
GpImage * nativeImage
GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage *image, GDIPCONST GUID *dimensionID, UINT frame)
Definition: image.c:4302
Status SetStatus(Status status) const

◆ SetNativeImage()

void Image::SetNativeImage ( GpImage image)
inlineprotected

Definition at line 359 of file gdiplusheaders.h.

360  {
361  nativeImage = image;
362  }
GLeglImageOES image
Definition: gl.h:2204
GpImage * nativeImage

Referenced by Bitmap::Bitmap(), and Metafile::Metafile().

◆ SetPalette()

Status Image::SetPalette ( const ColorPalette palette)
inline

Definition at line 313 of file gdiplusheaders.h.

314  {
316  }
GpImage * nativeImage
static HPALETTE palette
Definition: clipboard.c:1345
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipSetImagePalette(GpImage *image, GDIPCONST ColorPalette *palette)
Definition: image.c:4696

◆ SetPropertyItem()

Status Image::SetPropertyItem ( const PropertyItem item)
inline

Definition at line 319 of file gdiplusheaders.h.

320  {
322  }
GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage *image, GDIPCONST PropertyItem *item)
Definition: image.c:4414
GpImage * nativeImage
static ATOM item
Definition: dde.c:856
Status SetStatus(Status status) const

◆ SetStatus()

Friends And Related Function Documentation

◆ getNat

GpImage*& getNat ( const Image image)
friend

Definition at line 372 of file gdiplusheaders.h.

373  {
374  return const_cast<Image *>(image)->nativeImage;
375  }

Referenced by Bitmap::Bitmap(), and SaveAdd().

◆ Graphics

friend class Graphics
friend

Definition at line 25 of file gdiplusheaders.h.

◆ TextureBrush

friend class TextureBrush
friend

Definition at line 26 of file gdiplusheaders.h.

Member Data Documentation

◆ lastStatus

Status Image::lastStatus
mutableprotected

◆ nativeImage


The documentation for this class was generated from the following file: