gdiplus: Added GdipDeleteStringFormat.
This commit is contained in:
parent
c8c77f9b48
commit
380f184986
|
@ -149,7 +149,7 @@
|
|||
@ stdcall GdipDeletePen(ptr)
|
||||
@ stub GdipDeletePrivateFontCollection
|
||||
@ stub GdipDeleteRegion
|
||||
@ stub GdipDeleteStringFormat
|
||||
@ stdcall GdipDeleteStringFormat(ptr)
|
||||
@ stdcall GdipDisposeImage(ptr)
|
||||
@ stdcall GdipDisposeImageAttributes(ptr)
|
||||
@ stdcall GdipDrawArc(ptr ptr long long long long long long)
|
||||
|
|
|
@ -44,6 +44,16 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang,
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat *format)
|
||||
{
|
||||
if(!format)
|
||||
return InvalidParameter;
|
||||
|
||||
GdipFree(format);
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat *format,
|
||||
StringAlignment *align)
|
||||
{
|
||||
|
|
|
@ -251,6 +251,7 @@ GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
|
|||
GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
|
||||
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
|
||||
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
|
||||
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
|
||||
GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
|
||||
|
|
Loading…
Reference in New Issue