Home
last modified time | relevance | path

Searched refs:txtw (Results 1 – 25 of 29) sorted by relevance

12

/dports/graphics/qcomicbook/QComicBook-0.9.1/src/Job/
H A DPageRedrawJob.cpp103 const int txtw(mtr.width(pagestr)); in drawPageNumber() local
105 p.fillRect(x - txtw - 5, y - 2 - mtr.height(), txtw + 5, mtr.height() + 4, Qt::white); in drawPageNumber()
106 p.drawText(x - txtw - 4, y - 4, pagestr); in drawPageNumber()
/dports/graphics/drawpile/Drawpile-2.1.20/src/mobile/qml/Canvas/
H A DUserCursor.qml95 var txtw = ctx.measureText(label).width;
97 txtw = Math.max(txtw, ctx.measureText(label2).width);
100 root.width = Math.max(3*ARROW, txtw) + 2*MARGIN+2*PADDING;
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/bgralape/
H A Dtests.pas176 var x,y,i,txtw,txth: integer;
186 txtw := TextWidth(text);
187 if txtw > BitmapWidth then SetFontFullHeight(txth*BitmapWidth div txtw);
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/bgralape/
H A Dtests.pas176 var x,y,i,txtw,txth: integer;
186 txtw := TextWidth(text);
187 if txtw > BitmapWidth then SetFontFullHeight(txth*BitmapWidth div txtw);
/dports/games/crrcsim/crrcsim-0.9.13/src/GUI/
H A Dcrrc_gui_main.cpp766 const int txtw = 500; in help_keys_cb() local
874 KeysDialog->setSize(1 * keyw + 1 * txtw + 3 * DLG_DEF_SPACE, in help_keys_cb()
882 const int txtw = 200; in help_about_cb() local
915 AboutDialog->setSize(1 * imgw + 1 * txtw + 2 * DLG_DEF_SPACE, in help_about_cb()
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/
H A Ddec_ttml.c45 u32 txtw, txth, valign; member
87 if (!w) w = ctx->txtw; in ttmldec_update_size_info()
492 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
H A Ddec_webvtt.c47 u32 txtw, txth; member
92 if (!w) w = ctx->txtw; in vttd_update_size_info()
469 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
H A Ddec_ttxt.c77 u32 txtw, txth; member
128 gf_sg_set_scene_size_info(ctx->scenegraph, ctx->txtw, ctx->txth, GF_TRUE); in ttd_update_size_info()
1310 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/
H A Ddec_ttml.c45 u32 txtw, txth, valign; member
87 if (!w) w = ctx->txtw; in ttmldec_update_size_info()
492 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
H A Ddec_webvtt.c47 u32 txtw, txth; member
92 if (!w) w = ctx->txtw; in vttd_update_size_info()
469 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
H A Ddec_ttxt.c77 u32 txtw, txth; member
128 gf_sg_set_scene_size_info(ctx->scenegraph, ctx->txtw, ctx->txth, GF_TRUE); in ttd_update_size_info()
1310 { OFFS(txtw), "default width in standalone rendering", GF_PROP_UINT, "400", NULL, 0},
/dports/games/zaz/zaz-1.0.1/src/
H A Dmainmenu.cpp841 double txtw = b.Upper().X() / (1.0 / size); in Render() local
842 glTranslated((xx * tw + spc) + (tw / 2) - (txtw / 2) + xmv, 11.5, 5); in Render()
971 double txtw = b.Upper().X() / (1.0 / size); in Render() local
972 glTranslated((xx * tw + spc) + (tw / 2) - (txtw / 2) + xmv, 11.5, 5); in Render()
988 txtw = b.Upper().X() / (1.0 / size); in Render()
989 glTranslated((xx * tw + spc) + (tw / 2) - (txtw / 2) + xmv, 28, 7); in Render()
/dports/graphics/xv-m17n/xv-3.10a/
H A Dxvdir.c353 int i, ypos, txtw; local
393 txtw = StringWidth(FMTLABEL);
394 if (StringWidth(COLLABEL) > txtw) txtw = StringWidth(COLLABEL);
402 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
403 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
413 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
414 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
/dports/japanese/xv/xv-3.10a/
H A Dxvdir.c353 int i, ypos, txtw; local
393 txtw = StringWidth(FMTLABEL);
394 if (StringWidth(COLLABEL) > txtw) txtw = StringWidth(COLLABEL);
402 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
403 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
413 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
414 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
/dports/graphics/xv/xv-3.10a/
H A Dxvdir.c353 int i, ypos, txtw; local
393 txtw = StringWidth(FMTLABEL);
394 if (StringWidth(COLLABEL) > txtw) txtw = StringWidth(COLLABEL);
402 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
403 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
413 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT, FMTLABEL);
414 DrawString(dirW, fmtMB.x-6-txtw, 5+3+ASCENT + (LINEHIGH+6), COLLABEL);
/dports/games/crimson/crimson-0.5.3/src/common/
H A Dextwindow.cpp53 unsigned short txtw = sfont->TextWidth( msg.c_str() ); in DialogWindow() local
55 prefw = MIN( defw, txtw + 25 ), in DialogWindow()
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/utils/plot/
H A Dowplotgui.py145 txtw = painter.fontMetrics().horizontalAdvance(txt)
149 brect = QRect(rect.x() + rect.width() - 8 - txtw, rect.y(),
150 txtw, rect.height())
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/widgets/
H A Dmeter.cpp312 const int txtw = sz.width(); in updateText() local
336 if(txtw > _textRect.width()) in updateText()
337 _textRect.setWidth(txtw); in updateText()
/dports/games/crimson/crimson-0.5.3/src/cf/
H A Dunitwindow.cpp661 unsigned short txtw = sfont->TextWidth(msg); in Draw() local
662 sfont->WriteEllipsis( msg, this, MAX( 10, (w - txtw) / 2 ), 5, in Draw()
/dports/multimedia/gpac-libgpac/gpac-1.0.0/applications/mp4box/
H A Dfileimport.c237 s32 tw, th, tx, ty, txtw, txth, txtx, txty; in import_file() local
325 tw = th = tx = ty = txtw = txth = txtx = txty = 0; in import_file()
556 if ( sscanf(ext+13, "%dx%dx%dx%d", &txtw, &txth, &txtx, &txty)==4) { in import_file()
558 } else if ( sscanf(ext+8, "%dx%d", &txtw, &txth)==2) { in import_file()
876 if (text_layout && txtw && txth) { in import_file()
877 import.text_track_width = import.text_width ? import.text_width : txtw; in import_file()
879 import.text_width = txtw; in import_file()
/dports/multimedia/gpac-mp4box/gpac-1.0.0/applications/mp4box/
H A Dfileimport.c237 s32 tw, th, tx, ty, txtw, txth, txtx, txty; in import_file() local
325 tw = th = tx = ty = txtw = txth = txtx = txty = 0; in import_file()
556 if ( sscanf(ext+13, "%dx%dx%dx%d", &txtw, &txth, &txtx, &txty)==4) { in import_file()
558 } else if ( sscanf(ext+8, "%dx%d", &txtw, &txth)==2) { in import_file()
876 if (text_layout && txtw && txth) { in import_file()
877 import.text_track_width = import.text_width ? import.text_width : txtw; in import_file()
879 import.text_width = txtw; in import_file()
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/but/
H A Dtextin.c209 int txtw; in draw() local
226 txtw = XTextWidth(fs, ti->dispStr, ti->loc); in draw()
/dports/audio/xmcd/xmcd-3.3.2/xmcd_d/
H A Ddbprog.c8434 Widget txtw; in dbprog_the() local
8437 txtw = widgets.fullname.the_txt; in dbprog_the()
8439 txtw = widgets.dbextd.the_txt; in dbprog_the()
8441 txtw = widgets.dbextt.the_txt; in dbprog_the()
8447 if (XtIsSensitive(txtw) == p->set) in dbprog_the()
8451 XtSetSensitive(txtw, p->set); in dbprog_the()
8452 set_text_string(txtw, p->set ? app_data.str_the : "", TRUE); in dbprog_the()
8455 XmProcessTraversal(txtw, XmTRAVERSE_CURRENT); in dbprog_the()
/dports/biology/py-ete3/ete3-3.1.2/ete3/treeview/
H A Dfaces.py2340 txtw = text.boundingRect().width()
2342 text.setPos((width - txtw)/2, (self.row_h - txth)/2)
/dports/editors/neovim/neovim-0.6.1/runtime/syntax/
H A Dfoxpro.vim300 syn match foxproFunc "\<txtw\%[idth]\>\s*("me=e-1

12