[1/2] gdiplus: implemented GdipCreateTextureIAI using float args version
Nikolay Sivov
bunglehead at gmail.com
Wed Jul 2 18:04:40 CDT 2008
Changelog:
- Implemented GdipCreateTextureIAI using float args version
---
dlls/gdiplus/brush.c | 6 ++++++
dlls/gdiplus/gdiplus.spec | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 328f02c..2d15e01 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -433,6 +433,12 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
return Ok;
}
+GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttributes *imageattr,
+ INT x, INT y, INT width, INT height, GpTexture **texture)
+{
+ return GdipCreateTextureIA(image,imageattr,(REAL)x,(REAL)y,(REAL)width,(REAL)height,texture);
+}
+
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
{
if(!brush || !type) return InvalidParameter;
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 61cc2de..65154ab 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -135,7 +135,7 @@
@ stub GdipCreateTexture2I
@ stub GdipCreateTexture
@ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
-@ stub GdipCreateTextureIAI
+@ stdcall GdipCreateTextureIAI(ptr ptr long long long long ptr)
@ stdcall GdipDeleteBrush(ptr)
@ stub GdipDeleteCachedBitmap
@ stdcall GdipDeleteCustomLineCap(ptr)
--
1.4.4.4
More information about the wine-patches
mailing list