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