gdiplus: Add stub implementations of GdipBeginContainer2 and GdipEndContainer.

oldstable
Hans Leidekker 2008-11-24 10:22:51 +01:00 committed by Alexandre Julliard
parent df93d19d3d
commit 5ce729a4eb
3 changed files with 24 additions and 2 deletions

View File

@ -32,7 +32,7 @@
@ stub GdipAddPathString
@ stub GdipAddPathStringI
@ stdcall GdipAlloc(long)
@ stub GdipBeginContainer2
@ stdcall GdipBeginContainer2(ptr ptr)
@ stub GdipBeginContainer
@ stub GdipBeginContainerI
@ stub GdipBitmapApplyEffect
@ -200,7 +200,7 @@
@ stdcall GdipDrawRectanglesI(ptr ptr ptr long)
@ stdcall GdipDrawString(ptr ptr long ptr ptr ptr ptr)
@ stub GdipEmfToWmfBits
@ stub GdipEndContainer
@ stdcall GdipEndContainer(ptr ptr)
@ stub GdipEnumerateMetafileDestPoint
@ stub GdipEnumerateMetafileDestPointI
@ stub GdipEnumerateMetafileDestPoints

View File

@ -2819,6 +2819,27 @@ GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
return Ok;
}
GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics *graphics, GraphicsContainer *state)
{
FIXME("(%p, %p)\n", graphics, state);
if(!graphics || !state)
return InvalidParameter;
*state = 0xdeadbeef;
return Ok;
}
GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsState state)
{
FIXME("(%p, 0x%x)\n", graphics, state);
if(!graphics || !state)
return InvalidParameter;
return Ok;
}
GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics *graphics, REAL sx,
REAL sy, GpMatrixOrder order)
{

View File

@ -20,6 +20,7 @@
#define _GDIPLUSENUMS_H
typedef UINT GraphicsState;
typedef UINT GraphicsContainer;
enum Unit
{