[Gdiplus 10/16] Stub GdipGetCellDescent
Adam Petaccia
adam at tpetaccia.com
Wed Jul 2 12:25:30 CDT 2008
---
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 b859669..415b5d8 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 5c7c0f8..ab6d9ea 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 b33a781..16cd1ae 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -373,6 +373,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*);
--
1.5.4.3
More information about the wine-patches
mailing list