gdiplus: Implemented GdipCloneFont.
This commit is contained in:
parent
eb139e44a7
commit
f994306a02
|
@ -99,3 +99,16 @@ GpStatus WINGDIPAPI GdipGetLogFontW(GpFont *font, GpGraphics *graphics,
|
||||||
|
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipCloneFont(GpFont *font, GpFont **cloneFont)
|
||||||
|
{
|
||||||
|
if(!font || !cloneFont)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
*cloneFont = GdipAlloc(sizeof(GpFont));
|
||||||
|
if(!*cloneFont) return OutOfMemory;
|
||||||
|
|
||||||
|
**cloneFont = *font;
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
@ stub GdipCloneBitmapAreaI
|
@ stub GdipCloneBitmapAreaI
|
||||||
@ stdcall GdipCloneBrush(ptr ptr)
|
@ stdcall GdipCloneBrush(ptr ptr)
|
||||||
@ stdcall GdipCloneCustomLineCap(ptr ptr)
|
@ stdcall GdipCloneCustomLineCap(ptr ptr)
|
||||||
@ stub GdipCloneFont
|
@ stdcall GdipCloneFont(ptr ptr)
|
||||||
@ stub GdipCloneFontFamily
|
@ stub GdipCloneFontFamily
|
||||||
@ stub GdipCloneImage
|
@ stub GdipCloneImage
|
||||||
@ stub GdipCloneImageAttributes
|
@ stub GdipCloneImageAttributes
|
||||||
|
|
|
@ -313,6 +313,7 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**)
|
||||||
GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
|
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 GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
|
GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
|
||||||
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
|
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
|
||||||
|
|
Loading…
Reference in New Issue