Adam Petaccia : gdiplus: Stub GdipGetCellDescent.

Alexandre Julliard julliard at winehq.org
Mon Jul 7 09:19:37 CDT 2008


Module: wine
Branch: master
Commit: f6da80297dfe5b86ac60434c1b59c998d6d6042e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f6da80297dfe5b86ac60434c1b59c998d6d6042e

Author: Adam Petaccia <adam at tpetaccia.com>
Date:   Thu Jul  3 14:26:37 2008 -0400

gdiplus: Stub GdipGetCellDescent.

---

 dlls/gdiplus/font.c       |    9 +++++++++
 dlls/gdiplus/gdiplus.spec |    2 +-
 include/gdiplusflat.h     |    1 +
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c
index a5e3b01..5337c6f 100644
--- a/dlls/gdiplus/font.c
+++ b/dlls/gdiplus/font.c
@@ -500,6 +500,15 @@ GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily *family, INT style,
     return NotImplemented;
 }
 
+GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily *family, INT style, UINT16 * CellDescent)
+{
+    if (!(family && CellDescent)) return InvalidParameter;
+
+    FIXME("stub!\n");
+
+    return NotImplemented;
+}
+
 /*******************************************************************************
  * GdipGetEmHeight [GDIPLUS.@]
  *
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index d054503..afd07c4 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -243,7 +243,7 @@
 @ stub GdipGetAllPropertyItems
 @ stdcall GdipGetBrushType(ptr ptr)
 @ stdcall GdipGetCellAscent(ptr long ptr)
-@ stub GdipGetCellDescent
+@ stdcall GdipGetCellDescent(ptr long ptr)
 @ stdcall GdipGetClip(ptr ptr)
 @ stub GdipGetClipBounds
 @ stub GdipGetClipBoundsI
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index cd940f0..5791168 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -379,6 +379,7 @@ GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
+GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
 




More information about the wine-cvs mailing list