Home
last modified time | relevance | path

Searched refs:lfHeight (Results 1 – 25 of 979) sorted by relevance

12345678910>>...40

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/
H A Dsystem_fonts_win_unittest.cc39 logfont.lfHeight = height; in CreateLOGFONT()
81 EXPECT_EQ(-12, logfont.lfHeight); in TEST_F()
89 EXPECT_EQ(-12, logfont.lfHeight); in TEST_F()
97 EXPECT_EQ(-6, logfont.lfHeight); in TEST_F()
103 EXPECT_EQ(6, logfont.lfHeight); in TEST_F()
111 EXPECT_EQ(-9, logfont.lfHeight); in TEST_F()
117 EXPECT_EQ(9, logfont.lfHeight); in TEST_F()
125 EXPECT_EQ(-18, logfont.lfHeight); in TEST_F()
131 EXPECT_EQ(18, logfont.lfHeight); in TEST_F()
139 EXPECT_EQ(-11, logfont.lfHeight); in TEST_F()
[all …]
H A Dsystem_fonts_win.cc71 LONG(std::round(logfont->lfHeight * font_adjustment.font_scale)); in AdjustLOGFONT()
72 if (logfont->lfHeight && !new_height) in AdjustLOGFONT()
73 new_height = logfont->lfHeight > 0 ? 1 : -1; in AdjustLOGFONT()
74 logfont->lfHeight = new_height; in AdjustLOGFONT()
208 logfont->lfHeight = AdjustFontSize(logfont->lfHeight, 0); in AddFont()
278 logfont.lfHeight = SystemFonts::AdjustFontSize(logfont.lfHeight, 0); in AdjustExistingSystemFont()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/
H A Dsystem_fonts_win_unittest.cc39 logfont.lfHeight = height; in CreateLOGFONT()
81 EXPECT_EQ(-12, logfont.lfHeight); in TEST_F()
89 EXPECT_EQ(-12, logfont.lfHeight); in TEST_F()
97 EXPECT_EQ(-6, logfont.lfHeight); in TEST_F()
103 EXPECT_EQ(6, logfont.lfHeight); in TEST_F()
111 EXPECT_EQ(-9, logfont.lfHeight); in TEST_F()
117 EXPECT_EQ(9, logfont.lfHeight); in TEST_F()
125 EXPECT_EQ(-18, logfont.lfHeight); in TEST_F()
131 EXPECT_EQ(18, logfont.lfHeight); in TEST_F()
139 EXPECT_EQ(-11, logfont.lfHeight); in TEST_F()
[all …]
H A Dsystem_fonts_win.cc72 LONG{std::round(logfont->lfHeight * font_adjustment.font_scale)}; in AdjustLOGFONT()
73 if (logfont->lfHeight && !new_height) in AdjustLOGFONT()
74 new_height = logfont->lfHeight > 0 ? 1 : -1; in AdjustLOGFONT()
75 logfont->lfHeight = new_height; in AdjustLOGFONT()
209 logfont->lfHeight = AdjustFontSize(logfont->lfHeight, 0); in AddFont()
279 logfont.lfHeight = SystemFonts::AdjustFontSize(logfont.lfHeight, 0); in AdjustExistingSystemFont()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/
H A DFontDialog.java202 int lfHeight = logFont.lfHeight; in open() local
206 logFont.lfHeight = pixels; in open()
209 logFont.lfHeight = lfHeight; in open()
251 if (logFont.lfHeight > 0) { in open()
266 pixels = logFont.lfHeight - lptm.tmInternalLeading; in open()
268 pixels = -logFont.lfHeight; in open()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/
H A DFont.java219 int lfHeight = logFont.lfHeight; in init() local
220 logFont.lfHeight = device.computePixels(fd.height); in init()
222 logFont.lfHeight = lfHeight; in init()
/dports/games/vultures-eye/vulture-2.3.67/slashem/win/win32/
H A Dmhfont.c29 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
31 lgfnt.lfHeight = -40; // height of font in mswin_init_splashfonts()
82 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
104 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
127 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
149 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/ui/win32/
H A Dabout.c66 long lfHeight; in dialog_init() local
69 lfHeight = -MulDiv( 16, GetDeviceCaps( hdc, LOGPIXELSY ), 72 ); in dialog_init()
72 hBoldFont = CreateFont( lfHeight, 0, 0, 0, FW_BOLD, 0, 0, 0, 0, 0, in dialog_init()
/dports/emulators/fuse/fuse-1.6.0/ui/win32/
H A Dabout.c67 long lfHeight; in dialog_init() local
70 lfHeight = -MulDiv( 16, GetDeviceCaps( hdc, LOGPIXELSY ), 72 ); in dialog_init()
73 hBoldFont = CreateFont( lfHeight, 0, 0, 0, FW_BOLD, 0, 0, 0, 0, 0, in dialog_init()
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/msw/
H A Dfont.cpp154 return m_nativeFontInfo.lf.lfHeight; in GetLogFontHeight()
238 m_nativeFontInfo.lf.lfHeight = height; in SetLogFontHeight()
405 pointSize(GetPointSizeAtPPI(lf.lfHeight, win ? win->GetDPI().y : 0)) in wxNativeFontInfo()
409 double wxNativeFontInfo::GetPointSizeAtPPI(int lfHeight, int ppi) in GetPointSizeAtPPI() argument
414 return abs(lfHeight) * 72.0 / ppi; in GetPointSizeAtPPI()
446 ret.SetHeight(abs((int)lf.lfHeight)); in GetPixelSize()
527 lf.lfHeight = GetLogFontHeightAtPPI(pointSizeNew, ppi); in SetFractionalPointSize()
543 lf.lfHeight = -abs(pixelSize.GetHeight()); in SetPixelSize()
548 pointSize = GetPointSizeAtPPI(lf.lfHeight); in SetPixelSize()
706 lf.lfHeight = l; in FromString()
[all …]
/dports/games/nethack34/nethack-3.4.3/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
78 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
100 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
123 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
145 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/nethack34-nox11/nethack-3.4.3/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
78 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
100 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
123 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
145 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/unnethack/unnethack-5.1.0-20131208/win/win32/
H A Dmhfont.c27 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
77 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
99 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
122 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
144 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/vultures-eye/vulture-2.3.67/unnethack/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
78 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
100 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
123 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
145 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/vultures-eye/vulture-2.3.67/nethack/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -80; // height of font in mswin_init_splashfonts()
78 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
100 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
123 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
145 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/xnethack/xNetHack-xnh6.1/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -(int)(80 * scale); // height of font in mswin_create_splashfont()
88 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
111 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
140 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
166 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -(int)(80 * scale); // height of font in mswin_create_splashfont()
88 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
111 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
140 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
166 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/win/win32/
H A Dmhfont.c28 lgfnt.lfHeight = -(int)(80 * scale); // height of font in mswin_create_splashfont()
88 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
111 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
140 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
166 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/xnethack/xNetHack-xnh6.1/outdated/sys/wince/
H A Dmhfont.c52 lgfnt.lfHeight = -iflags.wc_fontsiz_status in mswin_get_font()
75 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
104 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
130 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/sys/wince/
H A Dmhfont.c52 lgfnt.lfHeight = -iflags.wc_fontsiz_status in mswin_get_font()
75 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
104 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
130 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/sys/wince/
H A Dmhfont.c52 lgfnt.lfHeight = -iflags.wc_fontsiz_status in mswin_get_font()
75 lgfnt.lfHeight = -iflags.wc_fontsiz_menu in mswin_get_font()
104 lgfnt.lfHeight = -font_size * GetDeviceCaps(hdc, LOGPIXELSY) in mswin_get_font()
130 lgfnt.lfHeight = -iflags.wc_fontsiz_text in mswin_get_font()
/dports/games/nethack34/nethack-3.4.3/sys/wince/
H A Dmhfont.c50 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
72 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
95 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
117 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/nethack34-nox11/nethack-3.4.3/sys/wince/
H A Dmhfont.c50 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
72 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
95 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
117 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/vultures-eye/vulture-2.3.67/nethack/sys/wince/
H A Dmhfont.c50 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
72 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
95 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
117 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
/dports/games/vultures-eye/vulture-2.3.67/slashem/sys/wince/
H A Dmhfont.c50 lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
72 lgfnt.lfHeight = -iflags.wc_fontsiz_menu*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
95 lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()
117 lgfnt.lfHeight = -iflags.wc_fontsiz_text*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font in mswin_get_font()

12345678910>>...40