gdiplus: Added GdipGetLogFontW.

This commit is contained in:
Evan Stade 2007-08-14 18:58:52 -07:00 committed by Alexandre Julliard
parent f7d27e0020
commit 958ece2192
3 changed files with 14 additions and 1 deletions

View File

@ -59,3 +59,15 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC hdc,
return Ok;
}
/* FIXME: use graphics */
GpStatus WINGDIPAPI GdipGetLogFontW(GpFont *font, GpGraphics *graphics,
LOGFONTW *lfw)
{
if(!font || !graphics || !lfw)
return InvalidParameter;
memcpy(lfw, &font->lfw, sizeof(LOGFONTW));
return Ok;
}

View File

@ -312,7 +312,7 @@
@ stub GdipGetLineTransform
@ stub GdipGetLineWrapMode
@ stub GdipGetLogFontA
@ stub GdipGetLogFontW
@ stdcall GdipGetLogFontW(ptr ptr ptr)
@ stdcall GdipGetMatrixElements(ptr ptr)
@ stub GdipGetMetafileDownLevelRasterizationLimit
@ stub GdipGetMetafileHeaderFromEmf

View File

@ -241,6 +241,7 @@ GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
#ifdef __cplusplus
}