/reactos/modules/rostests/winetests/user32/ |
H A D | text.c | 81 textheight = DrawTextA(hdc, text, textlen, &rect, DT_CALCRECT | in test_DrawTextCalcRect() 105 textheight = DrawTextA(hdc, text, textlen, &rect, DT_CALCRECT | in test_DrawTextCalcRect() 124 textheight = DrawTextA(hdc, text, 0, &rect, DT_CALCRECT); in test_DrawTextCalcRect() 138 textheight = DrawTextA(hdc, emptystring, -1, &rect, DT_CALCRECT); in test_DrawTextCalcRect() 157 textheight = DrawTextA(hdc, NULL, -1, &rect, DT_CALCRECT); in test_DrawTextCalcRect() 171 textheight = DrawTextA(hdc, NULL, 0, &rect, DT_CALCRECT); in test_DrawTextCalcRect() 324 DrawTextExA(hdc, text, -1, &rect, DT_CALCRECT, &dtp); in test_DrawTextCalcRect() 328 DrawTextExA(hdc, text, -1, &rect, DT_CALCRECT, &dtp); in test_DrawTextCalcRect() 333 DrawTextExA(hdc, text, -1, &rect, DT_CALCRECT, &dtp); in test_DrawTextCalcRect() 346 textheight = DrawTextW(hdc, textW, 0, &rect, DT_CALCRECT); in test_DrawTextCalcRect() [all …]
|
/reactos/modules/rostests/winetests/d3dx9_36/ |
H A D | core.c | 689 DT_LEFT | DT_CALCRECT, 0xffffffff); in test_ID3DXFont() 736 height = ID3DXFont_DrawTextA(font, NULL, "test", -1, NULL, DT_CALCRECT, 0xFF00FF); in test_ID3DXFont() 773 height = ID3DXFont_DrawTextW(font, NULL, testW, -1, NULL, DT_CALCRECT, 0xFF00FF); in test_ID3DXFont() 875 height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_CALCRECT, 0xff00ff); in test_ID3DXFont() 880 height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_CALCRECT, 0xff00ff); in test_ID3DXFont() 885 height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_CALCRECT, 0xff00ff); in test_ID3DXFont() 890 height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_CALCRECT, 0xff00ff); in test_ID3DXFont() 895 height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_CALCRECT, 0xff00ff); in test_ID3DXFont() 1025 …height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_RIGHT | DT_CALCRECT, 0xff00f… in test_ID3DXFont() 1030 …height = ID3DXFont_DrawTextW(font, NULL, L"aaaa\naaaa", -1, &rect, DT_RIGHT | DT_CALCRECT, 0xff00f… in test_ID3DXFont() [all …]
|
/reactos/modules/rostests/apitests/user32/ |
H A D | DrawText.c | 27 #define DT_1 (DT_CALCRECT | DT_SINGLELINE | DT_LEFT | DT_TOP) 28 #define DT_2 (DT_CALCRECT | DT_SINGLELINE | DT_LEFT | DT_VCENTER) 29 #define DT_3 (DT_CALCRECT | DT_LEFT | DT_TOP) 30 #define DT_4 (DT_CALCRECT | DT_LEFT | DT_VCENTER) 31 #define DT_5 (DT_CALCRECT | DT_LEFT | DT_TOP | DT_EDITCONTROL) 359 if (!(pEntry->uFormat & DT_CALCRECT)) in DoEntry() 366 if (!(pEntry->uFormat & DT_CALCRECT)) in DoEntry()
|
/reactos/win32ss/user/rtl/ |
H A D | text.c | 1155 if( flags & DT_CALCRECT) in DrawTextExWorker() 1182 if (flags & DT_CALCRECT) flags |= DT_NOCLIP; in DrawTextExWorker() 1247 if (((rect->right - rect->left) < size.cx) && (flags & DT_CALCRECT)) in DrawTextExWorker() 1276 if (!(flags & DT_CALCRECT)) in DrawTextExWorker() 1384 if (flags & DT_CALCRECT) in DrawTextExWorker()
|
/reactos/modules/rostests/win32/user32/psmtest/ |
H A D | psmtest.c | 192 DrawTest(hdc, 100, Test2, DT_CALCRECT, LPK); in MainWndProc() 235 DrawTest(hdc, 100, Test2, DT_CALCRECT, USERLPK); in MainWndProc()
|
/reactos/dll/directx/wine/d3dx9_36/ |
H A D | font.c | 676 if (format & DT_CALCRECT) in ID3DXFontImpl_DrawTextW() 686 if (!rect || format & (DT_CALCRECT | DT_VCENTER | DT_BOTTOM)) in ID3DXFontImpl_DrawTextW() 693 else if (!(format & DT_CALCRECT)) in ID3DXFontImpl_DrawTextW() 703 if (format & DT_CALCRECT) in ID3DXFontImpl_DrawTextW()
|
/reactos/win32ss/user/user32/controls/ |
H A D | icontitle.c | 100 DrawTextW( hDC, str, length, &rect, DT_CALCRECT | DT_CENTER | DT_NOPREFIX | DT_WORDBREAK | in ICONTITLE_SetTitlePos()
|
H A D | button.c | 784 DrawTextW(hdc, text, -1, &r, ((dtStyle | DT_CALCRECT) & ~(DT_VCENTER | DT_BOTTOM))); in BUTTON_CalcLabelRect() 786 DrawTextW(hdc, text, -1, &r, dtStyle | DT_CALCRECT); in BUTTON_CalcLabelRect()
|
/reactos/modules/rosapps/applications/screensavers/matrix/ |
H A D | message.c | 67 DrawText(hdcMessage, text, -1, &rect, DT_CENTER|DT_VCENTER|DT_WORDBREAK|DT_CALCRECT); in SetMatrixMessage()
|
H A D | config.c | 163 DrawText(hdc, buf, -1, &rect, DT_CENTER|DT_VCENTER|DT_WORDBREAK|DT_CALCRECT); in ConfigDlgProc()
|
/reactos/dll/win32/iernonce/ |
H A D | dialog.cpp | 51 DrawTextW(hdc, lpText, -1, pRect, DT_CALCRECT | DT_WORDBREAK); in CalcTextRect()
|
/reactos/modules/rosapps/lib/vfdlib/ |
H A D | vfdguitip.c | 205 DrawText(dc, sText, len, &rc, DT_CALCRECT | DT_LEFT | DT_TOP); in VfdToolTip()
|
/reactos/base/setup/welcome/ |
H A D | welcome.c | 1038 DrawText(hDC, szText, -1, &rect, DT_TOP | DT_CALCRECT | DT_WORDBREAK); in GetButtonHeight() 1373 DrawText(hdc, szVersion, -1, &rcTitle, DT_BOTTOM | DT_CALCRECT | DT_SINGLELINE); in OnPaint() 1384 DrawText(hdc, lpTitle, -1, &rcTitle, DT_TOP | DT_CALCRECT); in OnPaint()
|
/reactos/win32ss/user/user32/windows/ |
H A D | font.c | 304 if( flags & DT_CALCRECT) in DrawTextExA()
|
H A D | messagebox.c | 815 … | DT_NOPREFIX | DT_WORDBREAK | DT_EXPANDTABS | DT_EXTERNALLEADING | DT_EDITCONTROL | DT_CALCRECT); in SoftModalMessageBox() 832 &btnrect, DT_LEFT | DT_SINGLELINE | DT_CALCRECT); in SoftModalMessageBox()
|
/reactos/modules/rosapps/applications/explorer-old/shell/ |
H A D | pane.cpp | 636 DrawText(dis->hDC, (LPTSTR)str, -1, &rt, DT_CALCRECT|DT_SINGLELINE|DT_NOPREFIX); in calc_width() 649 …DrawText(dis->hDC, (LPTSTR)str, -1, &rt, DT_CALCRECT|DT_SINGLELINE|DT_EXPANDTABS|DT_TABSTOP|(2<<8)… in calc_tabbed_width()
|
/reactos/modules/rosapps/applications/explorer-old/taskbar/ |
H A D | desktopbar.cpp | 96 DrawText(canvas, start_str, -1, &rect, DT_SINGLELINE|DT_CALCRECT); in Init()
|
H A D | traynotify.cpp | 1280 DrawText(canvas, buffer, -1, &rect, DT_SINGLELINE|DT_NOPREFIX|DT_CALCRECT); in Create()
|
/reactos/base/applications/mspaint/ |
H A D | textedit.cpp | 68 DrawTextW(hDC, szText, -1, &rcText, uFormat | DT_CALCRECT); in FixEditPos()
|
/reactos/modules/rosapps/applications/explorer-old/utility/ |
H A D | window.cpp | 906 DrawText(hdc, title, -1, pRect, dt_flags|DT_CALCRECT); in DrawGrayText() 1092 DrawText(dis->hDC, txt, txt_len, &textRect, DT_SINGLELINE|DT_VCENTER|DT_CENTER|DT_CALCRECT); in DrawItem()
|
/reactos/dll/win32/comctl32/ |
H A D | button.c | 1308 DrawTextW(hdc, text, -1, &r, ((dtStyle | DT_CALCRECT) & ~(DT_VCENTER | DT_BOTTOM))); in BUTTON_CalcLabelRect() 1310 DrawTextW(hdc, text, -1, &r, dtStyle | DT_CALCRECT); in BUTTON_CalcLabelRect() 2110 DrawTextW(hDC, text, lstrlenW(text), &focusRect, dtFlags | DT_CALCRECT); in CB_ThemedPaint()
|
H A D | taskdialog.c | 383 DWORD style = DT_EXPANDTABS | DT_CALCRECT | DT_WORDBREAK; in taskdialog_get_label_size() 430 DWORD style = DT_EXPANDTABS | DT_CALCRECT | DT_WORDBREAK; in taskdialog_get_expando_size()
|
H A D | tooltips.c | 533 UINT uFlags = DT_EXTERNALLEADING | DT_CALCRECT; in TOOLTIPS_CalcTipSize() 557 DrawTextW(hdc, infoPtr->pszTitle, -1, &rcTitle, DT_SINGLELINE | DT_NOPREFIX | DT_CALCRECT); in TOOLTIPS_CalcTipSize()
|
/reactos/dll/cpl/desk/ |
H A D | draw.c | 564 DrawTextW(DC, Text, -1, &rect, DT_SINGLELINE | DT_CALCRECT); in MyDrawMenuBarTemp()
|
/reactos/dll/cpl/sysdm/ |
H A D | general.c | 188 DrawText(hCreditsDC, szCredits, -1, &rcCredits, DT_CALCRECT); in RosImageProc()
|