/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/graphics/openGL/ |
H A D | TestHandlerGL.h | 228 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 230 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 232 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 236 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 321 noiseImage = new RGBAImage( textSize, textSize ); in setupPrimitives() 323 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 325 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 327 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() 340 noiseImage = new RGBAImage( textSize, textSize ); in setupPrimitives() 342 textSize, textSize, fPower, true, mRandSource ); in setupPrimitives() [all …]
|
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/Style/ |
H A D | TextStyles.qml | 10 textSize: Style.dimens.title_font_size 14 textSize: Style.dimens.title_font_size 20 textSize: Style.dimens.title_font_size 25 textSize: Style.dimens.title_font_size 30 textSize: Style.dimens.title_font_size 35 textSize: Style.dimens.header_font_size 39 textSize: Style.dimens.header_font_size 45 textSize: Style.dimens.header_font_size 94 textSize: Style.dimens.hint_font_size 98 textSize: Style.dimens.hint_font_size [all …]
|
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/menu/ |
H A D | surfacemenu.cpp | 39 const int textSize = 40; in SurfaceMenu() local 40 const auto quit = std::make_shared<MTFH::MenuItem>(textSize, textSize, L"X"); in SurfaceMenu() 41 quit->setView(std::make_shared<TextMenuItemView>(textSize, *quit)); in SurfaceMenu() 47 const int textSize = 40; in SurfaceMenu() local 48 const auto prev = std::make_shared<MTFH::MenuItem>(textSize, textSize, L"<"); in SurfaceMenu() 49 prev->setView(std::make_shared<TextMenuItemView>(textSize, *prev)); in SurfaceMenu() 55 const int textSize = 40; in SurfaceMenu() local 56 const auto next = std::make_shared<MTFH::MenuItem>(textSize, textSize, L">"); in SurfaceMenu() 57 next->setView(std::make_shared<TextMenuItemView>(textSize, *next)); in SurfaceMenu()
|
H A D | settingsmenu.cpp | 196 const int textSize = ITEM_TEXT_SIZE; in populate() local 206 sfx->setView(std::make_shared<TextMenuItemView>(textSize, *sfx)); in populate() 210 gfx->setView(std::make_shared<TextMenuItemView>(textSize, *gfx)); in populate() 218 reset->setView(std::make_shared<TextMenuItemView>(textSize, *reset)); in populate() 232 const int textSize = ITEM_TEXT_SIZE; in populateFpsMenu() local 273 const int textSize = ITEM_TEXT_SIZE; in populateGameModeMenu() local 306 duel->setView(std::make_shared<TextMenuItemView>(textSize, *duel)); in populateGameModeMenu() 324 const int textSize = ITEM_TEXT_SIZE; in populateSplitTypeMenu() local 354 const int textSize = ITEM_TEXT_SIZE; in populateGfxMenu() local 389 const int textSize = ITEM_TEXT_SIZE; in populateSfxMenu() local [all …]
|
/dports/devel/apitrace/apitrace-9.0/gui/ |
H A D | apicalldelegate.cpp | 33 QSize textSize = text.size().toSize(); in paint() local 45 …offset += QPoint(textSize.height() + thumbnail.width(), option.rect.height()/2 - textSize.height()… in paint() 52 QPixmap px = m_stateEmblem.pixmap(textSize.height(), in paint() 53 textSize.height()); in paint() 55 offset += QPoint(textSize.height() + 5, 0); in paint() 62 …offset += QPoint(textSize.height() + thumbnail.width(), option.rect.height()/2 - textSize.height()… in paint() 67 QPixmap px = m_errorEmblem.pixmap(textSize.height(), in paint() 70 offset += QPoint(textSize.height() + 5, 0); in paint() 73 QPixmap px = m_editEmblem.pixmap(textSize.height(), in paint() 74 textSize.height()); in paint() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/test/ |
H A D | test_drawing.cpp | 183 Point textOrg((img.cols - textSize.width)/2, (img.rows + textSize.height)/2); in draw() 184 …rectangle(img, textOrg + Point(0, baseline), textOrg + Point(textSize.width, -textSize.height), Sc… in draw() 199 textOrg += Point(0,textSize.height+dist); in draw() 204 textOrg += Point(0,textSize.height+dist); in draw() 208 textOrg += Point(0,textSize.height+dist); in draw() 212 textOrg += Point(0,textSize.height+dist); in draw() 221 textOrg += Point(0,textSize.height+dist); in draw() 225 textOrg += Point(0,textSize.height+dist); in draw() 230 textOrg += Point(0,textSize.height+dist); in draw() 376 Point textOrg((32768 + img.cols - textSize.width) / 2, (img.rows + textSize.height) / 2); in draw() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/text/ |
H A D | GrSDFTOptions.cpp | 77 SkScalar scaled_text_size(const SkScalar textSize, const SkMatrix& viewMatrix) { in scaled_text_size() argument 78 SkScalar scaledTextSize = textSize; in scaled_text_size() 100 SkScalar textSize = font.getSize(); in getSDFFont() local 101 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in getSDFFont() 106 *textRatio = textSize / kSmallDFFontSize; in getSDFFont() 109 *textRatio = textSize / kMediumDFFontSize; in getSDFFont() 113 *textRatio = textSize / kLargeDFFontSize; in getSDFFont() 116 *textRatio = textSize / kExtraLargeDFFontSize; in getSDFFont() 121 *textRatio = textSize / kLargeDFFontSize; 136 SkScalar textSize, const SkMatrix& viewMatrix) const { in computeSDFMinMaxScale() argument [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/support/ |
H A D | font.cpp | 74 Point textSize; in getTextBounds() local 97 extendBounds(textSize, *strP, maxWidth); in getTextBounds() 103 *sizeOut = textSize; in getTextBounds() 105 return textSize.y + _fontHeight; in getTextBounds() 135 Point textSize(0, -yOffset); in writeString() local 175 Point cursorPos(rect1.left + textSize.x, rect1.top + textSize.y); in writeString() 309 textSize.x += _chars[c]._width; in extendBounds() 312 textSize.x = 0; in extendBounds() 313 textSize.y += _fontHeight; in extendBounds() 336 textSize.x = 0; in checkLineWrap() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/support/ |
H A D | font.cpp | 74 Point textSize; in getTextBounds() local 97 extendBounds(textSize, *strP, maxWidth); in getTextBounds() 103 *sizeOut = textSize; in getTextBounds() 105 return textSize.y + _fontHeight; in getTextBounds() 135 Point textSize(0, -yOffset); in writeString() local 175 Point cursorPos(rect1.left + textSize.x, rect1.top + textSize.y); in writeString() 309 textSize.x += _chars[c]._width; in extendBounds() 312 textSize.x = 0; in extendBounds() 313 textSize.y += _fontHeight; in extendBounds() 336 textSize.x = 0; in checkLineWrap() [all …]
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/src/hud/widgets/ |
H A D | readyammowidget.cpp | 170 Size2Raw textSize; FR_TextSize(&textSize, valueAsText); in ReadyAmmo_UpdateGeometry() local 171 textSize.width *= ::cfg.common.hudScale; in ReadyAmmo_UpdateGeometry() 172 textSize.height *= ::cfg.common.hudScale; in ReadyAmmo_UpdateGeometry() 173 Rect_SetWidthHeight(&ammo->geometry(), textSize.width, textSize.height); in ReadyAmmo_UpdateGeometry() 189 Size2Raw textSize; FR_TextSize(&textSize, valueAsText); in SBarReadyAmmo_UpdateGeometry() local 190 textSize.width *= ::cfg.common.statusbarScale; in SBarReadyAmmo_UpdateGeometry() 191 textSize.height *= ::cfg.common.statusbarScale; in SBarReadyAmmo_UpdateGeometry() 192 Rect_SetWidthHeight(&ammo->geometry(), textSize.width, textSize.height); in SBarReadyAmmo_UpdateGeometry() 302 Size2Raw textSize; in ReadyAmmo_UpdateGeometry() local 303 FR_TextSize(&textSize, valueAsText); in ReadyAmmo_UpdateGeometry() [all …]
|
H A D | healthwidget.cpp | 212 Size2Raw textSize; FR_TextSize(&textSize, valueAsText.toUtf8().constData()); in HealthWidget_UpdateGeometry() local 213 textSize.width *= ::cfg.common.hudScale; in HealthWidget_UpdateGeometry() 214 textSize.height *= ::cfg.common.hudScale; in HealthWidget_UpdateGeometry() 215 Rect_SetWidthHeight(&hlth->geometry(), textSize.width, textSize.height); in HealthWidget_UpdateGeometry() 250 Size2Raw textSize; FR_TextSize(&textSize, valueAsText.toUtf8().constData()); in SBarHealthWidget_UpdateGeometry() local 252 textSize.width += FR_CharWidth('%'); in SBarHealthWidget_UpdateGeometry() 253 textSize.height = de::max(textSize.height, FR_CharHeight('%')); in SBarHealthWidget_UpdateGeometry() 255 Rect_SetWidthHeight(&hlth->geometry(), textSize.width * ::cfg.common.statusbarScale, in SBarHealthWidget_UpdateGeometry() 256 textSize.height * ::cfg.common.statusbarScale); in SBarHealthWidget_UpdateGeometry()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/ |
H A D | downsamplebitmap.cpp | 94 const SkScalar textSize = 72; in make_text() local 97 bm.allocPixels(info.makeWH(int(textSize * 8), int(textSize * 6))); in make_text() 104 font.setSize(textSize); in make_text() 107 canvas.drawString("Hamburgefons", textSize/2, 1.2f*textSize, font, paint); in make_text() 109 canvas.drawString("Hamburgefons", textSize/2, 2.4f*textSize, font, paint); in make_text() 111 canvas.drawString("Hamburgefons", textSize/2, 3.6f*textSize, font, paint); in make_text() 113 canvas.drawString("Hamburgefons", textSize/2, 4.8f*textSize, font, paint); in make_text()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/ |
H A D | downsamplebitmap.cpp | 94 const SkScalar textSize = 72; in make_text() local 97 bm.allocPixels(info.makeWH(int(textSize * 8), int(textSize * 6))); in make_text() 104 font.setSize(textSize); in make_text() 107 canvas.drawString("Hamburgefons", textSize/2, 1.2f*textSize, font, paint); in make_text() 109 canvas.drawString("Hamburgefons", textSize/2, 2.4f*textSize, font, paint); in make_text() 111 canvas.drawString("Hamburgefons", textSize/2, 3.6f*textSize, font, paint); in make_text() 113 canvas.drawString("Hamburgefons", textSize/2, 4.8f*textSize, font, paint); in make_text()
|
/dports/math/g2o/g2o-20201223_git/g2o/types/data/ |
H A D | vertex_tag.cpp | 100 float textSize = 1; in operator ()() local 102 textSize = (float)_textSize->value(); in operator ()() 103 opengl::drawBox(0.1f*textSize, 0.1f*textSize, 0.1f*textSize); in operator ()() 104 glTranslatef(0.2f*textSize, 0.f, 0.f); in operator ()() 105 glScalef(0.003f*textSize,0.003f*textSize,1.f); in operator ()()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/mobile/Android/app/src/main/java/org/geuz/onelab/ |
H A D | StringTexture.java | 30 private void getBitmapFromText(float textSize, int textColor) in getBitmapFromText() argument 33 paint.setTextSize(textSize); in getBitmapFromText() 37 int baseline = (int)(textSize + 2.5f); in getBitmapFromText() 117 paint.setTextSize(textSize); in getBytesFromString() 125 int baseline = (int)(textSize + 0.5f); in getBytesFromString() 148 public static int getWidthFromString(String s, int textSize) in getWidthFromString() argument 151 paint.setTextSize(textSize); in getWidthFromString() 163 paint.setTextSize(textSize); in getRealWidthFromString() 167 public static int getHeightFromString(String s, int textSize) in getHeightFromString() argument 170 paint.setTextSize(textSize); in getHeightFromString() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/core/ |
H A D | SkTextBlob.cpp | 138 , fExtended(textSize > 0) { in RunRecord() 140 if (textSize > 0) { in RunRecord() 141 *this->textSizePtr() = textSize; in RunRecord() 195 + textSize; in StorageSize() 218 SkASSERT(textSize() > 0); in validate() 316 uint32_t textSize = it.textSize(); in flatten() local 317 pe.extended = textSize > 0; in flatten() 320 buffer.write32(textSize); in flatten() 464 return fCurrentRun->textSize(); in textSize() 635 if (run->textSize() != 0) { in mergeRun() [all …]
|
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/utils/codecs/ |
H A D | LineIteratorReaderUnitTest.java | 27 …public void testRead(@SuppressWarnings("unused") final int textSize, @SuppressWarnings("unused") f… in testRead() argument 43 for (final int textSize : TEXT_SIZE) { in testParameters() 46 … result.add(new Object[] { textSize, lineSize, bufferSize, createText(textSize, lineSize, true) }); in testParameters() 52 …private static String createText(final int textSize, final int lineSize, final boolean finishWithN… in createText() argument 53 final int fullLineCount = textSize % lineSize; in createText() 54 final int shortLineSize = textSize - lineSize * fullLineCount; in createText() 55 final StringBuilder sb = new StringBuilder(textSize); in createText()
|
/dports/audio/kmix/kmix-21.12.3/gui/ |
H A D | verticaltext.cpp | 58 QSize textSize(fontMetr.boundingRect(m_labelText).width(), fontMetr.height()); in sizeHint() local 59 textSize.transpose(); in sizeHint() 60 return textSize; in sizeHint() 66 QSize textSize(fontMetr.boundingRect("MMMM").width(), fontMetr.height()); in minimumSizeHint() local 67 textSize.transpose(); in minimumSizeHint() 68 return textSize; in minimumSizeHint()
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_100/ |
H A D | page_100.pde | 19 textSize(34); 21 textSize(10); 27 textSize(34); 29 textSize(10); 35 textSize(34); 37 textSize(10);
|
/dports/graphics/pikopixel/PikoPixel.Sources.1.0-b10/PikoPixel/ |
H A D | PPToolModifierTipsText.m | 108 NSSize textSize; 112 textSize = [gTypeModifierDescriptions[i] size]; 119 if (maxTextHeight_TypeModifiers < textSize.height) 121 maxTextHeight_TypeModifiers = textSize.height; 124 textSize = [gTypeModifierKeyNames[i] size]; 126 if (maxTextWidth_ModifierKeyNames < textSize.width) 128 maxTextWidth_ModifierKeyNames = textSize.width; 131 if (maxTextHeight_TypeModifiers < textSize.height) 133 maxTextHeight_TypeModifiers = textSize.height; 136 textSize = [gActionModifierDescriptions[i] size]; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/docs/examples/ |
H A D | Paint_setAutohinted.cpp | 15 for (SkScalar textSize = 8; textSize < 30; textSize *= 1.22f) { 16 paint.setTextSize(textSize); 17 canvas->translate(0, textSize);
|
H A D | Paint_isLinearText.cpp | 15 for (SkScalar textSize = 8; textSize < 30; textSize *= 1.22f) { 16 paint.setTextSize(textSize); 17 canvas->translate(0, textSize);
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/text/ |
H A D | GrTextContext.cpp | 139 SkScalar scaled_text_size(const SkScalar textSize, const SkMatrix& viewMatrix) { in scaled_text_size() argument 140 SkScalar scaledTextSize = textSize; in scaled_text_size() 163 SkScalar textSize = font.getSize(); in InitDistanceFieldFont() local 164 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in InitDistanceFieldFont() 169 *textRatio = textSize / kSmallDFFontSize; in InitDistanceFieldFont() 172 *textRatio = textSize / kMediumDFFontSize; in InitDistanceFieldFont() 176 *textRatio = textSize / kLargeDFFontSize; in InitDistanceFieldFont() 179 *textRatio = textSize / kExtraLargeDFFontSize; in InitDistanceFieldFont() 184 *textRatio = textSize / kLargeDFFontSize; 199 SkScalar textSize, in InitDistanceFieldMinMaxScale() argument [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/android/src/org/ppsspp/ppsspp/ |
H A D | TextRenderer.java | 30 private static Point measureLine(String string, double textSize) { in measureLine() argument 33 p.setTextSize((float) textSize); in measureLine() 48 private static Point measure(String string, double textSize) { in measure() argument 53 Point sz = measureLine(line, textSize); in measure() 71 public static int measureText(String string, double textSize) { in measureText() argument 72 Point s = measure(string, textSize); in measureText() 76 public static int[] renderText(String string, double textSize) { in renderText() argument 77 Point s = measure(string, textSize); in renderText()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/android/src/org/ppsspp/ppsspp/ |
H A D | TextRenderer.java | 30 private static Point measureLine(String string, double textSize) { in measureLine() argument 33 p.setTextSize((float) textSize); in measureLine() 48 private static Point measure(String string, double textSize) { in measure() argument 53 Point sz = measureLine(line, textSize); in measure() 71 public static int measureText(String string, double textSize) { in measureText() argument 72 Point s = measure(string, textSize); in measureText() 76 public static int[] renderText(String string, double textSize) { in renderText() argument 77 Point s = measure(string, textSize); in renderText()
|