Adam Petaccia : gdiplus: Stub GdipNewPrivateFontCollection.
Alexandre Julliard
julliard at winehq.org
Wed Jul 23 07:09:57 CDT 2008
Module: wine
Branch: master
Commit: 8d06fb4f9fae95650590b92ad19570069054a184
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d06fb4f9fae95650590b92ad19570069054a184
Author: Adam Petaccia <adam at tpetaccia.com>
Date: Tue Jul 22 23:07:20 2008 -0400
gdiplus: Stub GdipNewPrivateFontCollection.
---
dlls/gdiplus/font.c | 10 ++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
include/gdiplusflat.h | 2 ++
3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c
index 3526b2e..6a706e4 100644
--- a/dlls/gdiplus/font.c
+++ b/dlls/gdiplus/font.c
@@ -633,3 +633,13 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily **nativeFamil
return GdipCreateFontFamilyFromName(MSSansSerif, NULL, nativeFamily);
}
+
+GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection** fontCollection)
+{
+ FIXME("stub %p\n", fontCollection);
+
+ if (!fontCollection)
+ return InvalidParameter;
+
+ return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index cbbc9c3..f8b0b71 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -449,7 +449,7 @@
@ stub GdipMultiplyTextureTransform
@ stdcall GdipMultiplyWorldTransform(ptr ptr long)
@ stub GdipNewInstalledFontCollection
-@ stub GdipNewPrivateFontCollection
+@ stdcall GdipNewPrivateFontCollection(ptr)
@ stdcall GdipPathIterCopyData(ptr ptr ptr ptr long long)
@ stdcall GdipPathIterEnumerate(ptr ptr ptr ptr long)
@ stdcall GdipPathIterGetCount(ptr ptr)
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 841a46e..13d06f1 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -420,6 +420,8 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
+GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
+
GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
More information about the wine-cvs
mailing list