Home
last modified time | relevance | path

Searched refs:nFit (Results 1 – 2 of 2) sorted by relevance

/reactos/modules/rostests/apitests/gdi32/
H A DGetTextExtentExPoint.c13 INT nFit; in Test_GetTextExtentExPoint() local
19 result = GetTextExtentExPointA(GetDC(0), "test", 4, 1000, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
21 ok_int(nFit, 4); in Test_GetTextExtentExPoint()
23 printf("nFit = %d\n", nFit); in Test_GetTextExtentExPoint()
25 result = GetTextExtentExPointA(GetDC(0), "test", 4, 1, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
27 ok_int(nFit, 0); in Test_GetTextExtentExPoint()
29 printf("nFit = %d\n", nFit); in Test_GetTextExtentExPoint()
31 result = GetTextExtentExPointA(GetDC(0), "test", 4, 0, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
33 ok_int(nFit, 0); in Test_GetTextExtentExPoint()
36 result = GetTextExtentExPointA(GetDC(0), "test", 4, -1, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
[all …]
/reactos/dll/win32/comctl32/
H A Dsyslink.c564 int nFit, LPSIZE Extent) in SYSLINK_WrapLine() argument
568 for (i = 0; i < nFit; i++) if (Text[i] == '\r' || Text[i] == '\n') break; in SYSLINK_WrapLine()
582 if (x == SL_LEFTMARGIN) i = max( nFit, 1 ); in SYSLINK_WrapLine()
625 INT nFit; in SYSLINK_Render() local
677 GetTextExtentExPointW(hdc, tx, n, rc.right - x, &nFit, NULL, &szDim)) in SYSLINK_Render()
685 Wrap = SYSLINK_WrapLine(tx, infoPtr->BreakChar, x, &LineLen, nFit, &szDim); in SYSLINK_Render()