Module: wine Branch: master Commit: 3db6eeeda9a3f2228df49398f5a6a9d81c04f5f9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3db6eeeda9a3f2228df49398f5...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Feb 13 01:47:59 2008 +0100
gdi32: Move two 16bit function stubs to gdi16.c.
---
dlls/gdi32/font.c | 29 ----------------------------- dlls/gdi32/gdi16.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 29 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c index 3a0beed..3624e97 100644 --- a/dlls/gdi32/font.c +++ b/dlls/gdi32/font.c @@ -1455,26 +1455,6 @@ BOOL WINAPI GetTextMetricsW( HDC hdc, TEXTMETRICW *metrics )
/*********************************************************************** - * GetOutlineTextMetrics [GDI.308] Gets metrics for TrueType fonts. - * - * NOTES - * lpOTM should be LPOUTLINETEXTMETRIC - * - * RETURNS - * Success: Non-zero or size of required buffer - * Failure: 0 - */ -UINT16 WINAPI GetOutlineTextMetrics16( - HDC16 hdc, /* [in] Handle of device context */ - UINT16 cbData, /* [in] Size of metric data array */ - LPOUTLINETEXTMETRIC16 lpOTM) /* [out] Address of metric data array */ -{ - FIXME("(%04x,%04x,%p): stub\n", hdc,cbData,lpOTM); - return 0; -} - - -/*********************************************************************** * GetOutlineTextMetricsA (GDI32.@) * Gets metrics for TrueType fonts. * @@ -2408,15 +2388,6 @@ DWORD WINAPI SetMapperFlags( HDC hDC, DWORD dwFlag ) }
/*********************************************************************** - * GetAspectRatioFilterEx (GDI.486) - */ -BOOL16 WINAPI GetAspectRatioFilterEx16( HDC16 hdc, LPSIZE16 pAspectRatio ) -{ - FIXME("(%04x, %p): -- Empty Stub !\n", hdc, pAspectRatio); - return FALSE; -} - -/*********************************************************************** * GetAspectRatioFilterEx (GDI32.@) */ BOOL WINAPI GetAspectRatioFilterEx( HDC hdc, LPSIZE pAspectRatio ) diff --git a/dlls/gdi32/gdi16.c b/dlls/gdi32/gdi16.c index b7d1293..02bb16f 100644 --- a/dlls/gdi32/gdi16.c +++ b/dlls/gdi32/gdi16.c @@ -1728,6 +1728,31 @@ BOOL16 WINAPI GetCharABCWidths16( HDC16 hdc, UINT16 firstChar, UINT16 lastChar,
/*********************************************************************** + * GetOutlineTextMetrics (GDI.308) + * + * Gets metrics for TrueType fonts. + * + * PARAMS + * hdc [In] Handle of device context + * cbData [In] Size of metric data array + * lpOTM [Out] Address of metric data array + * + * RETURNS + * Success: Non-zero or size of required buffer + * Failure: 0 + * + * NOTES + * lpOTM should be LPOUTLINETEXTMETRIC + */ +UINT16 WINAPI GetOutlineTextMetrics16( HDC16 hdc, UINT16 cbData, + LPOUTLINETEXTMETRIC16 lpOTM ) +{ + FIXME("(%04x,%04x,%p): stub\n", hdc,cbData,lpOTM); + return 0; +} + + +/*********************************************************************** * GetGlyphOutline (GDI.309) */ DWORD WINAPI GetGlyphOutline16( HDC16 hdc, UINT16 uChar, UINT16 fuFormat, @@ -2611,6 +2636,16 @@ BOOL16 WINAPI ScaleWindowExtEx16( HDC16 hdc, INT16 xNum, INT16 xDenom, }
+/*********************************************************************** + * GetAspectRatioFilterEx (GDI.486) + */ +BOOL16 WINAPI GetAspectRatioFilterEx16( HDC16 hdc, LPSIZE16 pAspectRatio ) +{ + FIXME("(%04x, %p): -- Empty Stub !\n", hdc, pAspectRatio); + return FALSE; +} + + /****************************************************************************** * PolyBezier (GDI.502) */