gdiplus: GdipSaveGraphics/GdipRestoreGraphics stubs.

This commit is contained in:
Evan Stade 2007-07-13 17:51:37 -07:00 committed by Alexandre Julliard
parent d6bd866df5
commit c760668cab
4 changed files with 26 additions and 2 deletions

View File

@ -463,7 +463,7 @@
@ stub GdipResetPenTransform
@ stub GdipResetTextureTransform
@ stub GdipResetWorldTransform
@ stub GdipRestoreGraphics
@ stdcall GdipRestoreGraphics(ptr long)
@ stub GdipReversePath
@ stub GdipRotateLineTransform
@ stub GdipRotateMatrix
@ -473,7 +473,7 @@
@ stub GdipRotateWorldTransform
@ stub GdipSaveAdd
@ stub GdipSaveAddImage
@ stub GdipSaveGraphics
@ stdcall GdipSaveGraphics(ptr ptr)
@ stub GdipSaveImageToFile
@ stub GdipSaveImageToStream
@ stub GdipScaleLineTransform

View File

@ -848,6 +848,26 @@ GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics *graphics, SmoothingMode *mo
return Ok;
}
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
{
if(!graphics)
return InvalidParameter;
FIXME("graphics state not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
{
if(!graphics || !state)
return InvalidParameter;
FIXME("graphics state not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics *graphics,
CompositingQuality quality)
{

View File

@ -19,6 +19,8 @@
#ifndef _GDIPLUSENUMS_H
#define _GDIPLUSENUMS_H
typedef UINT GraphicsState;
enum Unit
{
UnitWorld = 0,

View File

@ -49,6 +49,8 @@ GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);