mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
move GetTextExtentExPointI and GetTextExtentPointI from stubs.c to text.c
svn path=/trunk/; revision=31083
This commit is contained in:
parent
e2181b108c
commit
012c324bfb
2 changed files with 28 additions and 33 deletions
|
@ -1569,39 +1569,6 @@ UnloadNetworkFonts(DWORD unknown)
|
|||
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
|
||||
*/
|
||||
|
|
|
@ -274,6 +274,34 @@ GetTextExtentPoint32W(
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue