[Gdiplus 09/16] Stub GdipGetCellAscent
Adam Petaccia
adam at tpetaccia.com
Thu Jul 3 13:26:33 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 c2556cd..a5e3b01 100644
--- a/dlls/gdiplus/font.c
+++ b/dlls/gdiplus/font.c
@@ -491,6 +491,15 @@ GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily *FontFamily)
return Ok;
}
+GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily *family, INT style, UINT16 * CellAscent)
+{
+ if (!(family && CellAscent)) return InvalidParameter;
+
+ FIXME("stub!\n");
+
+ return NotImplemented;
+}
+
/*******************************************************************************
* GdipGetEmHeight [GDIPLUS.@]
*
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 3321660..73e7105 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -242,7 +242,7 @@
@ stub GdipGetAdjustableArrowCapWidth
@ stub GdipGetAllPropertyItems
@ stdcall GdipGetBrushType(ptr ptr)
-@ stub GdipGetCellAscent
+@ stdcall GdipGetCellAscent(ptr long ptr)
@ stub GdipGetCellDescent
@ stdcall GdipGetClip(ptr ptr)
@ stub GdipGetClipBounds
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index b1b2f72..833dfe7 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -375,6 +375,7 @@ GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
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 GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
--
1.5.4.3
More information about the wine-patches
mailing list