From f6da80297dfe5b86ac60434c1b59c998d6d6042e Mon Sep 17 00:00:00 2001 From: Adam Petaccia Date: Thu, 3 Jul 2008 14:26:37 -0400 Subject: [PATCH] gdiplus: Stub GdipGetCellDescent. --- dlls/gdiplus/font.c | 9 +++++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index a5e3b019d91..5337c6fec65 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 d054503f942..afd07c4e5a5 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 cd940f07ee7..579116880d3 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*); -- 2.11.4.GIT