Author: cwittich
Date: Sat Dec 8 19:26:40 2007
New Revision: 31083
URL:
http://svn.reactos.org/svn/reactos?rev=31083&view=rev
Log:
move GetTextExtentExPointI and GetTextExtentPointI from stubs.c to text.c
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
trunk/reactos/dll/win32/gdi32/objects/text.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sat Dec 8 19:26:40 2007
@@ -1568,39 +1568,6 @@
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
}
-
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GetTextExtentExPointI(HDC hdc,
- LPWORD pgiIn,
- int cgi,
- int nMaxExtent,
- LPINT lpnFit,
- LPINT alpDx,
- LPSIZE lpSize)
-{
- return NtGdiGetTextExtentExW(hdc,pgiIn,cgi,nMaxExtent,(ULONG *)lpnFit, (PULONG)
alpDx,lpSize,1);
-}
-
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GetTextExtentPointI(HDC hdc,
- LPWORD pgiIn,
- int cgi,
- LPSIZE lpSize)
-{
- return NtGdiGetTextExtent(hdc,pgiIn,cgi,lpSize,2);
-}
-
-
-
-
/*
* @unimplemented
Modified: trunk/reactos/dll/win32/gdi32/objects/text.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/te…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/text.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/text.c Sat Dec 8 19:26:40 2007
@@ -274,6 +274,34 @@
return NtGdiGetTextExtentPoint32(hdc, lpString, cbString, lpSize);
}
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GetTextExtentExPointI(HDC hdc,
+ LPWORD pgiIn,
+ int cgi,
+ int nMaxExtent,
+ LPINT lpnFit,
+ LPINT alpDx,
+ LPSIZE lpSize)
+{
+ return NtGdiGetTextExtentExW(hdc,pgiIn,cgi,nMaxExtent,(ULONG *)lpnFit, (PULONG)
alpDx,lpSize,1);
+}
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GetTextExtentPointI(HDC hdc,
+ LPWORD pgiIn,
+ int cgi,
+ LPSIZE lpSize)
+{
+ return NtGdiGetTextExtent(hdc,pgiIn,cgi,lpSize,2);
+}
/*
* @implemented