gdiplus: Added GdipGetLogFontW.
This commit is contained in:
parent
f7d27e0020
commit
958ece2192
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue