Module: wine Branch: master Commit: 6dc67fd0d01f9eb8514e53ca974748cc34ee613a URL: http://source.winehq.org/git/wine.git/?a=commit;h=6dc67fd0d01f9eb8514e53ca97...
Author: Adam Petaccia adam@tpetaccia.com Date: Wed Aug 27 17:21:39 2008 -0400
gdiplus: Stub GdipGetFontStyle.
---
dlls/gdiplus/font.c | 7 +++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 6ed18ae..a38fb0b 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -295,6 +295,13 @@ GpStatus WINGDIPAPI GdipGetFontSize(GpFont *font, REAL *size) return Ok; }
+GpStatus WINGDIPAPI GdipGetFontStyle(GpFont *font, INT *style) +{ + FIXME("stub: %p %p\n", font, style); + + return NotImplemented; +} + /******************************************************************************* * GdipGetFontUnit [GDIPLUS.@] * diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 3cf9544..3766dc1 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -270,7 +270,7 @@ @ stub GdipGetFontHeight @ stdcall GdipGetFontHeightGivenDPI(ptr long ptr) @ stdcall GdipGetFontSize(ptr ptr) -@ stub GdipGetFontStyle +@ stdcall GdipGetFontStyle(ptr ptr) @ stdcall GdipGetFontUnit(ptr ptr) @ stdcall GdipGetGenericFontFamilyMonospace(ptr) @ stdcall GdipGetGenericFontFamilySansSerif(ptr) diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 37476d8..320f02d 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -437,6 +437,7 @@ GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**); GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**); GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*); GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*); +GpStatus WINGDIPAPI GdipGetFontStyle(GpFont*, INT*); GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,