gdiplus: Stub GdipGetFamily.

This commit is contained in:
Adam Petaccia 2008-08-27 17:21:34 -04:00 committed by Alexandre Julliard
parent ff0760dcd3
commit cb39d787e4
3 changed files with 22 additions and 1 deletions

View File

@ -250,6 +250,26 @@ GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC hdc, GpFont **font)
return GdipCreateFontFromLogfontW(hdc, &lfw, font); return GdipCreateFontFromLogfontW(hdc, &lfw, font);
} }
/*******************************************************************************
* GdipGetFamily [GDIPLUS.@]
*
* Returns the FontFamily for the specified Font
*
* PARAMS
* font [I] Font to request from
* family [O] Resulting FontFamily object
*
* RETURNS
* SUCCESS: Ok
* FAILURE: An element of GpStatus
*/
GpStatus WINGDIPAPI GdipGetFamily(GpFont *font, GpFontFamily **family)
{
FIXME("stub: %p %p\n", font, family);
return NotImplemented;
}
/****************************************************************************** /******************************************************************************
* GdipGetFontSize [GDIPLUS.@] * GdipGetFontSize [GDIPLUS.@]
* *

View File

@ -263,7 +263,7 @@
@ stdcall GdipGetEmHeight(ptr long ptr) @ stdcall GdipGetEmHeight(ptr long ptr)
@ stub GdipGetEncoderParameterList @ stub GdipGetEncoderParameterList
@ stub GdipGetEncoderParameterListSize @ stub GdipGetEncoderParameterListSize
@ stub GdipGetFamily @ stdcall GdipGetFamily(ptr ptr)
@ stdcall GdipGetFamilyName(ptr ptr long) @ stdcall GdipGetFamilyName(ptr ptr long)
@ stdcall GdipGetFontCollectionFamilyCount(ptr ptr) @ stdcall GdipGetFontCollectionFamilyCount(ptr ptr)
@ stdcall GdipGetFontCollectionFamilyList(ptr long ptr ptr) @ stdcall GdipGetFontCollectionFamilyList(ptr long ptr ptr)

View File

@ -434,6 +434,7 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**)
GpStatus WINGDIPAPI GdipDeleteFont(GpFont*); GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*); GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**); GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**);
GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*); GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*); GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*); GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);