/dports/math/dbcsr/dbcsr-2.1.0/src/core/ |
H A D | dbcsr_error_handling.F | 115 txt_width = screen_width - img_width - 5 local 125 b = next_linebreak(message, a, txt_width) 156 WRITE (UNIT=output_unit, FMT="(A)", advance='no') REPEAT(" ", txt_width + 2) 158 b = next_linebreak(message, a, txt_width) 161 fill = (txt_width - LEN_TRIM(msg_line))/2 + 1 162 indent = txt_width - LEN_TRIM(msg_line) - fill + 2 173 indent = txt_width - LEN_TRIM(location) + 1
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/ |
H A D | cp_error_handling.F | 136 txt_width = screen_width - img_width - 5 local 146 b = next_linebreak(message, a, txt_width) 177 WRITE (UNIT=output_unit, FMT="(A)", advance='no') REPEAT(" ", txt_width + 2) 179 b = next_linebreak(message, a, txt_width) 182 fill = (txt_width - LEN_TRIM(msg_line))/2 + 1 183 indent = txt_width - LEN_TRIM(msg_line) - fill + 2 194 indent = txt_width - LEN_TRIM(location) + 1
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/exts/dbcsr/src/core/ |
H A D | dbcsr_error_handling.F | 115 txt_width = screen_width - img_width - 5 local 125 b = next_linebreak(message, a, txt_width) 156 WRITE (UNIT=output_unit, FMT="(A)", advance='no') REPEAT(" ", txt_width + 2) 158 b = next_linebreak(message, a, txt_width) 161 fill = (txt_width - LEN_TRIM(msg_line))/2 + 1 162 indent = txt_width - LEN_TRIM(msg_line) - fill + 2 173 indent = txt_width - LEN_TRIM(location) + 1
|
/dports/science/cp2k-data/cp2k-7.1.0/src/common/ |
H A D | cp_error_handling.F | 136 txt_width = screen_width - img_width - 5 local 146 b = next_linebreak(message, a, txt_width) 177 WRITE (UNIT=output_unit, FMT="(A)", advance='no') REPEAT(" ", txt_width + 2) 179 b = next_linebreak(message, a, txt_width) 182 fill = (txt_width - LEN_TRIM(msg_line))/2 + 1 183 indent = txt_width - LEN_TRIM(msg_line) - fill + 2 194 indent = txt_width - LEN_TRIM(location) + 1
|
/dports/x11/tint/tint2-78313502d3b26c217f5583a23ef571bc9e0edc45/src/button/ |
H A D | button.c | 290 int txt_height, txt_width; in button_compute_desired_size() local 295 &txt_width, in button_compute_desired_size() 308 &txt_width, in button_compute_desired_size() 321 txt_height = txt_width = 0; in button_compute_desired_size() 325 int new_size = txt_width + icon_w + (txt_width && icon_w ? interior_padding : 0); in button_compute_desired_size() 374 int txt_height, txt_width; in resize_button() local 378 &txt_width, in resize_button() 389 txt_height = txt_width = 0; in resize_button() 394 int new_size = txt_width + icon_w + (txt_width && icon_w ? interior_padding : 0); in resize_button() 409 button->frontend->textw = txt_width; in resize_button() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/ogsf/ |
H A D | gsd_label.c | 44 int txt_width; in gs_put_label() local 63 txt_width = gsd_get_txtwidth(text, size); in gs_put_label() 66 labpt[X] = (float)(pt[X] - txt_width / 2.); in gs_put_label()
|
/dports/games/warmux/warmux-11.04/src/graphic/ |
H A D | text.cpp | 353 int txt_width = 1; in DrawCursor() local 357 txt_width = txt_before_cursor.GetWidth(); in DrawCursor() 358 if (txt_width > real_width) in DrawCursor() 359 offset = real_width - 2 - txt_width; in DrawCursor() 360 if (txt_width+offset < 0) in DrawCursor() 361 offset = -txt_width; in DrawCursor() 363 GetMainWindow().VlineColor(text_pos.GetX()+txt_width+offset, in DrawCursor()
|
/dports/math/ploticus-nox11/pl240src/src/ |
H A D | pcode.c | 97 static double txt_width; /* width of most recently drawn text line. */ variable 317 PLGX_text( s, &txt_width ); 328 PLGX_centext( s, 12.0, &txt_curx, &txt_width ); 333 PLGX_rightjust( s, 12.0, &txt_curx, &txt_width ); 591 txt_width = strlen( s ) * Ecurtextwidth; 592 txt_width *= globalscale; 604 Ebb( lmlx + txt_width+0.05, lmly + (Ecurtextheight*globalscale) ); 607 Ebb( lmlx - ((txt_width/2.0)+0.05), lmly ); 608 Ebb( lmlx + ((txt_width/2.0)+0.05), lmly + (Ecurtextheight*globalscale) ); 611 Ebb( lmlx - (txt_width+0.05), lmly ); [all …]
|
/dports/math/ploticus/pl240src/src/ |
H A D | pcode.c | 97 static double txt_width; /* width of most recently drawn text line. */ variable 317 PLGX_text( s, &txt_width ); 328 PLGX_centext( s, 12.0, &txt_curx, &txt_width ); 333 PLGX_rightjust( s, 12.0, &txt_curx, &txt_width ); 591 txt_width = strlen( s ) * Ecurtextwidth; 592 txt_width *= globalscale; 604 Ebb( lmlx + txt_width+0.05, lmly + (Ecurtextheight*globalscale) ); 607 Ebb( lmlx - ((txt_width/2.0)+0.05), lmly ); 608 Ebb( lmlx + ((txt_width/2.0)+0.05), lmly + (Ecurtextheight*globalscale) ); 611 Ebb( lmlx - (txt_width+0.05), lmly ); [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/ |
H A D | objheaderwin.cpp | 34 int txt_width = vulture_text_length(V_FONT_MENU, caption); in draw() local 36 int text_start_x = abs_x + (w - txt_width)/2; in draw()
|
/dports/x11/tint/tint2-78313502d3b26c217f5583a23ef571bc9e0edc45/src/execplugin/ |
H A D | execplugin.c | 310 int *txt_width, in execp_compute_icon_text_geometry() argument 347 txt_width, in execp_compute_icon_text_geometry() 360 *new_size = *txt_width; in execp_compute_icon_text_geometry() 394 int txt_height, txt_width; in execp_compute_desired_size() local 405 &txt_width, in execp_compute_desired_size() 418 int txt_height, txt_width; in resize_execp() local 429 &txt_width, in resize_execp() 438 execp->frontend->textw = txt_width; in resize_execp() 452 execp->frontend->textx = (execp->area.width - txt_width) / 2; in resize_execp() 457 execp->frontend->textx = (execp->area.width - txt_width) / 2; in resize_execp() [all …]
|
/dports/german/BBBike/BBBike-3.18/lib/Tk/ |
H A D | LayerEditorCore.pm | 209 my $txt_width = 0; 222 if ($this_width > $txt_width) { 223 $txt_width = $this_width; 227 $max_width = $max_width + $txt_width + 2;
|
/dports/converters/wkhtmltopdf/qt-5db36ec/demos/shared/ |
H A D | arthurstyle.cpp | 288 int txt_width = groupBox->fontMetrics.width(groupBox->text) + 20; in drawComplexControl() local 289 painter->drawPixmap(r.center().x() - txt_width/2, 0, titleLeft); in drawComplexControl() 341 int txt_width = group->fontMetrics.width(group->text) + 20; in subControlRect() local 342 rect = QRect(group->rect.center().x() - txt_width/2 + titleLeft.width(), 0, in subControlRect() 343 txt_width - titleLeft.width() - titleRight.width(), in subControlRect()
|
/dports/editors/rehex/rehex-0.4.0/wxLua/modules/wxlua/debug/ |
H A D | wxlstack.cpp | 297 int txt_width = 0, txt_height = 0; in Create() local 299 m_listCtrl->GetTextExtent(wxString(wxT('W'), 25), &txt_width, &txt_height); in Create() 302 m_listCtrl->SetColumnWidth(0, txt_width); in Create() 303 m_listCtrl->SetColumnWidth(4, txt_width); // we'll make it wider later since it's the last in Create() 304 m_listCtrl->GetTextExtent(wxT("555:5555"), &txt_width, &txt_height); in Create() 305 m_listCtrl->SetColumnWidth(1, txt_width); in Create() 306 m_listCtrl->GetTextExtent(wxT("Light User DataX"), &txt_width, &txt_height); in Create() 307 m_listCtrl->SetColumnWidth(2, txt_width); in Create() 308 m_listCtrl->SetColumnWidth(3, txt_width); in Create()
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/widgets/painting/shared/ |
H A D | arthurstyle.cpp | 297 int txt_width = groupBox->fontMetrics.horizontalAdvance(groupBox->text) + 20; in drawComplexControl() local 298 painter->drawPixmap(r.center().x() - txt_width/2, 0, titleLeft); in drawComplexControl() 388 int txt_width = group->fontMetrics.horizontalAdvance(group->text) + 20; in subControlRect() local 389 rect = QRect(group->rect.center().x() - txt_width/2 + titleLeft.width(), 0, in subControlRect() 390 txt_width - titleLeft.width() - titleRight.width(), in subControlRect()
|
/dports/math/snns/SNNSv4.3/xgui/iconsXgui/ |
H A D | txt.xbm | 1 #define txt_width 32
|
/dports/comms/xastir/Xastir-Release-2.1.8/src/ |
H A D | draw_symbols.c | 2867 long txt_width; in draw_symbol() local 3013 txt_width=get_text_width(w,my_distance); in draw_symbol() 3016 x_offset=(((x_long-NW_corner_longitude)/scale_x)-(txt_width+9)); in draw_symbol() 3022 txt_width=get_text_width(w,my_course); in draw_symbol() 3025 x_offset=(((x_long-NW_corner_longitude)/scale_x)-(txt_width+9)); in draw_symbol() 3091 txt_width = get_text_width(w,age); in draw_symbol() 3111 txt_width = get_text_width(w,wx_temp); in draw_symbol() 3114 x_offset=((x_long-NW_corner_longitude)/scale_x)-(txt_width/2); in draw_symbol() 3121 txt_width = get_text_width(w,wx_wind); in draw_symbol() 3124 x_offset=((x_long-NW_corner_longitude)/scale_x)-(txt_width/2); in draw_symbol() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/object_carver/ |
H A D | carver_draw.py | 246 txt_width = blf.dimensions(0, help_txt)[0] 252 rect_vertices = [(xrect - 5, yrect - 5), (xrect + txt_width + 5, yrect - 5), \ 253 … (xrect + txt_width + 5, yrect + txt_height + 5), (xrect - 5, yrect + txt_height + 5)]
|
/dports/games/xpilot/xpilot-4.5.5/src/client/ |
H A D | widget.h | 129 int txt_width; member
|
/dports/games/minetest/minetest-5.4.1/src/gui/ |
H A D | guiEditBoxWithScrollbar.cpp | 517 s32 txt_width = font->getDimension(txt_line->c_str()).Width; in calculateScrollPos() local 519 if (txt_width < m_frame_rect.getWidth()) { in calculateScrollPos()
|
/dports/devel/cbrowser/cbrowser-0.8/ |
H A D | hierarchy.tcl | 792 set img_height 0; set img_width 0; set txt_width 0; set txt_height 0 818 foreach {x y txt_width txt_height} [$c bbox txt:$np] { 819 incr txt_width -$x; incr txt_height -$y
|
/dports/games/freesynd/freesynd-0.7.5/src/menus/ |
H A D | gameplaymenu.cpp | 899 int txt_width = font_used->textWidth(str_paused.c_str(), false); local 900 int txt_posx = g_Screen.gameScreenWidth() / 2 - txt_width / 2; 905 txt_width + 20, txt_height + 10);
|
/dports/math/R/R-4.1.2/src/library/tcltk/exec/ |
H A D | hierarchy.tcl | 795 set img_height 0; set img_width 0; set txt_width 0; set txt_height 0 821 foreach {x y txt_width txt_height} [$c bbox txt:$np] { 822 incr txt_width -$x; incr txt_height -$y
|
/dports/math/libRmath/R-4.1.1/src/library/tcltk/exec/ |
H A D | hierarchy.tcl | 795 set img_height 0; set img_width 0; set txt_width 0; set txt_height 0 821 foreach {x y txt_width txt_height} [$c bbox txt:$np] { 822 incr txt_width -$x; incr txt_height -$y
|
/dports/security/ridl/ridl-11b3240/nuklear/src/ |
H A D | nuklear_draw.c | 461 float txt_width = (float)text_width; in nk_draw_text() local 462 length = nk_text_clamp(font, string, length, r.w, &glyphs, &txt_width, 0,0); in nk_draw_text()
|