Commit c760668c authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: GdipSaveGraphics/GdipRestoreGraphics stubs.

parent d6bd866d
......@@ -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
......
......@@ -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)
{
......
......@@ -19,6 +19,8 @@
#ifndef _GDIPLUSENUMS_H
#define _GDIPLUSENUMS_H
typedef UINT GraphicsState;
enum Unit
{
UnitWorld = 0,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment