Home
last modified time | relevance | path

Searched refs:txtSize (Results 1 – 25 of 62) sorted by relevance

123

/dports/games/wizznic/Wizznic-1.1/src/
H A Dtext.c27 static int txtSize[NUMFONTS][2]; variable
36 txtSize[fontNum][0] = w; in loadFont()
37 txtSize[fontNum][1] = h; in loadFont()
49 xpos+=txtSize[fontNum][0]; in loadFont()
108 py+=txtSize[fontNum][1]; in txtWrite()
109 px=x-txtSize[fontNum][0]; in txtWrite()
116 px+=txtSize[fontNum][0]; in txtWrite()
150 py+=txtSize[fontNum][1]; in txtWave()
151 px=x-txtSize[fontNum][0]; in txtWave()
158 px+=txtSize[fontNum][0]; in txtWave()
[all …]
/dports/games/openspades/openspades-0.1.3/Resources/Scripts/Gui/UIFramework/
H A DButton.as208 Vector2 txtSize = Font.Measure(Caption);
211 (size - txtSize - Vector2(margin * 2.f, margin * 2.f)) * Alignment,
235 Vector2 txtSize = Font.Measure(Caption);
236 … Font.DrawShadow(Caption, pos + (size - txtSize) * Vector2(0.f, 0.5f) + Vector2(16.f, 0.f),
306 Vector2 txtSize = Font.Measure(Caption);
307 Font.DrawShadow(Caption, pos + (size - txtSize) * 0.5f + Vector2(8.f, 0.f), 1.f,
350 Vector2 txtSize = font.Measure(text);
354 txtPos = pos + (size - txtSize) * Alignment;
H A DLabel.as50 Vector2 txtSize = font.Measure(text) * TextScale;
52 txtPos = pos + (size - txtSize) * Alignment;
/dports/math/gambit/gambit-16.0.1/src/labenski/src/
H A Dsheetren.cpp697 if ((txtSize.x == 0) && (bmpSize.x == 0)) in Draw()
702 if ((txtSize.x == 0) || (bmpSize.x == 0)) in Draw()
708 bmpRect.x += txtSize.x + margin; in Draw()
709 bmpRect.width -= txtSize.x + margin; in Draw()
710 if (txtSize.x < rect.width) in Draw()
711 txtRect.width = txtSize.x; in Draw()
724 bmpRect.y += txtSize.y + margin; in Draw()
725 bmpRect.height -= txtSize.y + margin; in Draw()
726 if (txtSize.y < rect.height) in Draw()
727 txtRect.height = txtSize.y; in Draw()
[all …]
/dports/games/openlierox/OpenLieroX/src/client/DeprecatedGUI/
H A DCGuiLayout.cpp163 VectorD2<int> txtSize; in setText() local
164 txtSize.x = tLX->cFont.GetWidth(text); in setText()
165 txtSize.y = tLX->cFont.GetHeight(text); in setText()
166 if(txtSize.x + 2 != box.getWidth() || txtSize.y + 2 != box.getHeight()) { in setText()
167 box.Setup(0, box.getX(), box.getY(), txtSize.x + 2, txtSize.y + 2); in setText()
/dports/games/openspades/openspades-0.1.3/Resources/Scripts/Gui/MainScreen/
H A DServerList.as151 Vector2 txtSize = font.Measure(text);
153 txtPos = pos + (size - txtSize) * 0.5f;
169 Vector2 txtSize = font.Measure(text);
171 txtPos = pos + (size - txtSize) * 0.5f;
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/widgets/widgets/
H A Dqsplashscreen.cpp408 const QSizeF txtSize = doc.size(); in drawContents() local
410 r.setTop(r.height() - txtSize.height()); in drawContents()
412 r.setTop(r.height() / 2 - txtSize.height() / 2); in drawContents()

123