Home
last modified time | relevance | path

Searched refs:tmMaxCharWidth (Results 1 – 12 of 12) sorted by relevance

/reactos/dll/win32/imm32/
H A Dsoftkbd.c201 if (GetTextExtentPoint32W(hDC, &wch, 1, &textSize) && textSize.cx > ptm->tmMaxCharWidth) in T1_GetTextMetric()
202 ptm->tmMaxCharWidth = textSize.cx; in T1_GetTextMetric()
219 cxLarge = (3 * tm.tmMaxCharWidth + 18) / 2; in T1_InitButtonPos()
223 pT1->cxDefWidth = (2 * tm.tmMaxCharWidth + 12) / 2; in T1_InitButtonPos()
224 pT1->cxWidth47 = (2 * tm.tmMaxCharWidth + 12) / 2 + 1; in T1_InitButtonPos()
225 pT1->cxWidth49 = (4 * tm.tmMaxCharWidth + 24) / 2 + 3; in T1_InitButtonPos()
226 pT1->cxWidth51or52 = (5 * tm.tmMaxCharWidth + 30) / 2 + 5; in T1_InitButtonPos()
227 pT1->cxWidth58 = 4 * (3 * tm.tmMaxCharWidth + 18) / 2 + 15; in T1_InitButtonPos()
2084 *pcx = 15 * tm.tmMaxCharWidth + 2 * gptRaiseEdge.x + 139; in Imm32GetSoftKeyboardDimension()
/reactos/modules/rostests/apitests/gdi32/
H A DAddFontMemResourceEx.c258 ok_int2(tm.tmMaxCharWidth); in test_font_caps()
/reactos/modules/rostests/winetests/gdi32/
H A Dfont.c293 …ok(tm->tmMaxCharWidth == otm->tmMaxCharWidth, "tmMaxCharWidth %d != %d\n", tm->tmMaxCharWidth, otm… in compare_tm()
379 …ok(near_match(tm.tmMaxCharWidth, tm_orig->tmMaxCharWidth * scale_x), "max width %d != %d\n", tm.tm… in test_font_metrics()
1060 …ok(tm.tmMaxCharWidth == fd[i].max_char_width, "%s(%d): tm.tmMaxCharWidth %d != %d\n", fd[i].face_n… in test_bitmap_font_metrics()
6562 ok(data[0].tm.tmMaxCharWidth + 1 == data[1].tm.tmMaxCharWidth, in test_fake_bold_font()
6563 "expected %d, got %d\n", data[0].tm.tmMaxCharWidth + 1, data[1].tm.tmMaxCharWidth); in test_fake_bold_font()
6618 ok(data[i+1].tm.tmMaxCharWidth - data[i].tm.tmMaxCharWidth == diff, in test_fake_bold_font()
6619 "expected %d, got %d\n", diff, data[i+1].tm.tmMaxCharWidth - data[i].tm.tmMaxCharWidth); in test_fake_bold_font()
H A Dgenerated.c6404 TEST_FIELD_SIZE (TEXTMETRICA, tmMaxCharWidth, 4) in test_pack_TEXTMETRICA()
6405 TEST_FIELD_ALIGN (TEXTMETRICA, tmMaxCharWidth, 4) in test_pack_TEXTMETRICA()
6406 TEST_FIELD_OFFSET(TEXTMETRICA, tmMaxCharWidth, 24) in test_pack_TEXTMETRICA()
6471 TEST_FIELD_SIZE (TEXTMETRICW, tmMaxCharWidth, 4) in test_pack_TEXTMETRICW()
6472 TEST_FIELD_ALIGN (TEXTMETRICW, tmMaxCharWidth, 4) in test_pack_TEXTMETRICW()
6473 TEST_FIELD_OFFSET(TEXTMETRICW, tmMaxCharWidth, 24) in test_pack_TEXTMETRICW()
12927 TEST_FIELD_SIZE (TEXTMETRICA, tmMaxCharWidth, 4) in test_pack_TEXTMETRICA()
12928 TEST_FIELD_ALIGN (TEXTMETRICA, tmMaxCharWidth, 4) in test_pack_TEXTMETRICA()
12929 TEST_FIELD_OFFSET(TEXTMETRICA, tmMaxCharWidth, 24) in test_pack_TEXTMETRICA()
12994 TEST_FIELD_SIZE (TEXTMETRICW, tmMaxCharWidth, 4) in test_pack_TEXTMETRICW()
[all …]
/reactos/win32ss/gdi/gdi32/objects/
H A Dfont.c87 ptmA->tmMaxCharWidth = ptmW->tmMaxCharWidth; in FONT_TextMetricWToA()
1447 …LocalOTM->otmTextMetrics.tmMaxCharWidth = width_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmMax… in GetOutlineTextMetricsW()
/reactos/sdk/include/psdk/
H A Dwtypes.idl253 LONG tmMaxCharWidth;
277 LONG tmMaxCharWidth;
H A Dwingdi.h2367 LONG tmMaxCharWidth; member
2389 LONG tmMaxCharWidth; member
2624 LONG tmMaxCharWidth; member
2650 LONG tmMaxCharWidth; member
/reactos/base/applications/clipbrd/
H A Dclipbrd.c401 Globals.CharWidth = tm.tmMaxCharWidth; // tm.tmAveCharWidth; in MainWndProc()
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dcore.c493 …ok(metrics.tmMaxCharWidth == expmetrics.tmMaxCharWidth, "Got unexpected maximum char width %d, exp… in test_ID3DXFont()
494 metrics.tmMaxCharWidth, expmetrics.tmMaxCharWidth); in test_ID3DXFont()
/reactos/dll/win32/comctl32/
H A Dtreeview.c3870 sz.cx += (textMetric.tmMaxCharWidth * 2); in TREEVIEW_Command()
3872 sz.cx = max(sz.cx, textMetric.tmMaxCharWidth * 3); in TREEVIEW_Command()
3951 sz.cx += (textMetric.tmMaxCharWidth * 2); in TREEVIEW_EditLabel()
3953 sz.cx = max(sz.cx, textMetric.tmMaxCharWidth * 3); in TREEVIEW_EditLabel()
4807 x += (textMetric.tmMaxCharWidth * 2); in TREEVIEW_EnsureVisible()
4808 x = max(x, textMetric.tmMaxCharWidth * 3); in TREEVIEW_EnsureVisible()
H A Dlistview.c3151 infoPtr->ntmMaxCharWidth = tm.tmMaxCharWidth; in LISTVIEW_SaveTextMetrics()
6312 sz.cx += tm.tmMaxCharWidth * 2; in LISTVIEW_EditLabelT()
12100 sz.cx += (textMetric.tmMaxCharWidth * 2); in LISTVIEW_Command()
/reactos/win32ss/gdi/ntgdi/
H A Dfreetype.c2794 TM->tmMaxCharWidth = pFNT->max_width; in FillTM()
2847 TM->tmMaxCharWidth = (FT_MulFix(Face->max_advance_width, XScale) + 32) >> 6; in FillTM()
3506 Ntm->tmMaxCharWidth = TM->tmMaxCharWidth; in FontFamilyFillInfo()