Andrew Eikum : gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI.
Alexandre Julliard
julliard at winehq.org
Mon Jun 1 10:01:04 CDT 2009
Module: wine
Branch: master
Commit: 309150660965735cdab1f03354764119509a714a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=309150660965735cdab1f03354764119509a714a
Author: Andrew Eikum <andrew at brightnightgames.com>
Date: Sun May 31 15:00:03 2009 -0500
gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI.
---
dlls/gdiplus/gdiplus.spec | 4 ++--
dlls/gdiplus/graphics.c | 12 ++++++++++++
include/gdiplusflat.h | 3 +++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index b6d9377..e156db4 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -33,8 +33,8 @@
@ stdcall GdipAddPathStringI(ptr wstr long ptr long long ptr ptr)
@ stdcall GdipAlloc(long)
@ stdcall GdipBeginContainer2(ptr ptr)
-@ stub GdipBeginContainer
-@ stub GdipBeginContainerI
+@ stdcall GdipBeginContainer(ptr ptr ptr long ptr)
+@ stdcall GdipBeginContainerI(ptr ptr ptr long ptr)
@ stub GdipBitmapApplyEffect
@ stub GdipBitmapConvertFormat
@ stub GdipBitmapCreateApplyEffect
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 1c128d4..adeea3c 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3152,6 +3152,18 @@ GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics *graphics, GraphicsContainer
return Ok;
}
+GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics *graphics, GDIPCONST GpRectF *dstrect, GDIPCONST GpRectF *srcrect, GpUnit unit, GraphicsContainer *state)
+{
+ FIXME("(%p, %p, %p, %d, %p): stub\n", graphics, dstrect, srcrect, unit, state);
+ return NotImplemented;
+}
+
+GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics *graphics, GDIPCONST GpRect *dstrect, GDIPCONST GpRect *srcrect, GpUnit unit, GraphicsContainer *state)
+{
+ FIXME("(%p, %p, %p, %d, %p): stub\n", graphics, dstrect, srcrect, unit, state);
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsState state)
{
FIXME("(%p, 0x%x)\n", graphics, state);
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index c2c96c5..28cea41 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -118,6 +118,9 @@ GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*);
/* Graphics */
GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
+GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics*,GDIPCONST GpRectF*,GDIPCONST GpRectF*,GpUnit,GraphicsContainer*);
+GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics*,GraphicsContainer*);
+GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics*,GDIPCONST GpRect*,GDIPCONST GpRect*,GpUnit,GraphicsContainer*);
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
More information about the wine-cvs
mailing list