gdiplus: GdipSaveGraphics/GdipRestoreGraphics stubs.
This commit is contained in:
parent
d6bd866df5
commit
c760668cab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue