/dports/graphics/p5-Gimp/Gimp-2.33/examples/ |
H A D | gallery | 54 my $txtwidth = 0; 73 $txtwidth = $txtlayer->width; 78 $xcorrection = $width-$txtwidth if (($labelpos == 1) || ($labelpos == 3));
|
/dports/devel/itext/itext-4.2.0/toolbox/com/lowagie/toolbox/plugins/ |
H A D | Watermarker.java | 130 float txtwidth = bf.getWidthPoint(text, fontsize); in execute() local 140 float xoff = (float) ( -Math.cos(winkel) * txtwidth / 2 - Math in execute() 143 float yoff = (float) (Math.sin(winkel) * txtwidth / 2 - Math in execute()
|
/dports/audio/ardour6/Ardour-6.8.0/share/scripts/ |
H A D | ltc_reader.lua | 69 local txtwidth, lineheight = txt:get_pixel_size() 77 ctx:move_to ((displaywidth - txtwidth) / 2, 1)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/gui/awx/ |
H A D | buttons.py | 121 txtwidth, txtheight = dc.GetTextExtent(label) 123 xpos = (width - bmpwidth - txtwidth) // 2 if center else 0
|
H A D | elements_gui.py | 139 txtwidth, txtheight = dc.GetTextExtent(label) 140 xpos = (width - txtwidth) // 2 148 txtwidth, txtheight = dc.GetTextExtent(label) 149 dc.DrawText(label, (width-txtwidth)//2, 4+ypos+(height-txtheight)//2) 762 txtwidth, txtheight = dc.GetTextExtent(label) 764 xpos = (width - bmpwidth - txtwidth) // 2 if center else 0
|
/dports/graphics/graphviz/graphviz-2.44.1/cmd/lefty/ |
H A D | txtview.c | 73 static int txton, txtx, txty, txtwidth, txtheight; variable 101 txtwidth = r.c.x - r.o.x + 1, txtheight = r.c.y - r.o.y + 1; in TXTinit() 192 data[2].u.s.x = txtwidth, data[2].u.s.y = txtheight; in viewon() 196 data[0].u.s.x = txtwidth, data[0].u.s.y = txtheight; in viewon() 205 data[0].u.s.x = txtwidth, data[0].u.s.y = txtheight / 3; in viewon() 217 data[0].u.s.x = txtwidth, data[0].u.s.y = txtheight * 2 / 3; in viewon() 225 data[1].u.s.x = txtwidth, data[1].u.s.y = txtheight; in viewon()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | ui.cpp | 455 int txtwidth = utf8_width( remove_color_tags( entries[i].txt ) ); in setup() local 457 if( txtwidth > max_entry_len ) { in setup() 458 max_entry_len = txtwidth; in setup() 473 if( w_auto && w_width < txtwidth + pad + 4 + clen ) { in setup() 474 w_width = txtwidth + pad + 4 + clen; in setup() 477 if( w_auto && w_width < txtwidth + pad + 4 + clen ) { in setup() 479 w_width = txtwidth + pad + 4 + clen; in setup()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | ui.cpp | 455 int txtwidth = utf8_width( remove_color_tags( entries[i].txt ) ); in setup() local 457 if( txtwidth > max_entry_len ) { in setup() 458 max_entry_len = txtwidth; in setup() 473 if( w_auto && w_width < txtwidth + pad + 4 + clen ) { in setup() 474 w_width = txtwidth + pad + 4 + clen; in setup() 477 if( w_auto && w_width < txtwidth + pad + 4 + clen ) { in setup() 479 w_width = txtwidth + pad + 4 + clen; in setup()
|
/dports/editors/jupp/jupp/ |
H A D | menu.c | 94 col = txtwidth(m->list[m->cursor],strlen((char *)m->list[m->cursor])); in menudisp() 122 int d = txtwidth(s[x],strlen((char *)(s[x]))); in mlines() 145 int d = txtwidth(m->list[x],strlen((char *)(m->list[x]))); in mconfig()
|
H A D | scrn.h | 159 int txtwidth(unsigned char *s,int len);
|
H A D | scrn.c | 1703 int txtwidth(unsigned char *s,int len) in txtwidth() function
|
/dports/math/mathgl/mathgl-2.5/src/ |
H A D | obj.cpp | 462 const size_t txtwidth = 512; in mgl_write_obj() local 463 unsigned char *buf = new unsigned char[4*256*txtwidth*Ntxt]; in mgl_write_obj() 465 for(size_t i=0;i<256*Ntxt;i++) pbuf[i] = buf+4*txtwidth*i; in mgl_write_obj() 466 for(size_t i=0;i<ntxt;i++) gr->GetTxt(i).GetRGBAOBJ(buf+(Ntxt-1-i)*256*txtwidth*4); in mgl_write_obj() 469 unsigned char *f=buf+(Ntxt-1-i)*256*txtwidth*4; in mgl_write_obj() 473 for(size_t l=0;l<txtwidth;l++) in mgl_write_obj() 483 mgl_pnga_save(tname,txtwidth,256*Ntxt,pbuf); in mgl_write_obj() 485 mgl_tga_save(tname,txtwidth,256*Ntxt,pbuf); in mgl_write_obj()
|
/dports/misc/py-powerline-status/powerline-2.8.2/powerline/bindings/ipython/ |
H A D | post_0_11.py | 67 self.txtwidth = res[-1]
|
/dports/editors/joe/joe-4.6/joe/ |
H A D | menu.c | 125 col = txtwidth(m->list[m->cursor],zlen(m->list[m->cursor])); in menudisp() 132 col = txtwidth(m->list[m->cursor],zlen(m->list[m->cursor])); in menudisp() 156 ptrdiff_t d = txtwidth(s[x],zlen(s[x])); in mlines() 179 ptrdiff_t d = txtwidth(m->list[x],zlen(m->list[x])); in mconfig()
|
H A D | scrn.h | 354 ptrdiff_t txtwidth(const char *s,ptrdiff_t len);
|
H A D | scrn.c | 2230 ptrdiff_t txtwidth(const char *s,ptrdiff_t len) in txtwidth() function
|
/dports/science/openbabel/openbabel-3.1.1/src/GUI/ |
H A D | OBGUI.cpp | 926 int txtwidth, txtheight, wndheight; in ShortenedPath() local 927 wnd.GetTextExtent(path, &txtwidth, &txtheight); in ShortenedPath() 930 if(txtwidth <= wndwidth) return path; in ShortenedPath() 940 while(txtwidth > wndwidth) in ShortenedPath() 950 wnd.GetTextExtent(tpath, &txtwidth, &txtheight); in ShortenedPath()
|
/dports/lang/seed7/seed7/src/ |
H A D | con_x11.c | 1247 static intType txtwidth (unsigned char *stri, intType length, in txtwidth() function 1281 return txtwidth(stri->mem, stri->size, startcol - 1, stopcol - 1); in textwidth() 1476 txtwidth(stri, length, 0, length - 1)); in conText() 1481 txtwidth(stri, length, 0, length - 1), in conText() 1487 txtwidth(stri, length, 0, length - 1), in conText()
|
/dports/net-p2p/amule/aMule-2.3.3/src/ |
H A D | GenericClientListCtrl.cpp | 956 wxCoord txtwidth, txtheight; in DrawClientItem() local 958 dc->GetTextExtent(buffer, &txtwidth, &txtheight); in DrawClientItem() 961 dc->DrawText(buffer, wxMax(rect.GetX() + 2, midx - (txtwidth >> 1)), midy - (txtheight >> 1)); in DrawClientItem()
|
/dports/net-p2p/amule-devel/aMule-SVN-r11065/src/ |
H A D | GenericClientListCtrl.cpp | 948 wxCoord txtwidth, txtheight; in DrawClientItem() local 950 dc->GetTextExtent(buffer, &txtwidth, &txtheight); in DrawClientItem() 953 dc->DrawText(buffer, wxMax(rect.GetX() + 2, midx - (txtwidth >> 1)), midy - (txtheight >> 1)); in DrawClientItem()
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/tecnickcom/tcpdf/ |
H A D | tcpdf.php | 15544 $txtwidth = ($arrcode['maxw'] * $xres); 15545 if ($this->GetStringWidth($label) > $txtwidth) { 15553 $this->Cell($txtwidth, 0, $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
|
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/vendor/tecnickcom/tcpdf/ |
H A D | tcpdf.php | 15505 $txtwidth = ($arrcode['maxw'] * $xres); 15506 if ($this->GetStringWidth($label) > $txtwidth) { 15514 $this->Cell($txtwidth, '', $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/includes/tecnickcom/tcpdf/ |
H A D | tcpdf.php | 15507 $txtwidth = ($arrcode['maxw'] * $xres); 15508 if ($this->GetStringWidth($label) > $txtwidth) { 15516 $this->Cell($txtwidth, '', $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
|
/dports/www/groupoffice/groupoffice-6.4.231-php-71/vendor/tecnickcom/tcpdf/ |
H A D | tcpdf.php | 15505 $txtwidth = ($arrcode['maxw'] * $xres); 15506 if ($this->GetStringWidth($label) > $txtwidth) { 15514 $this->Cell($txtwidth, '', $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/includes/tecnickcom/tcpdf/ |
H A D | tcpdf.php | 15507 $txtwidth = ($arrcode['maxw'] * $xres); 15508 if ($this->GetStringWidth($label) > $txtwidth) { 15516 $this->Cell($txtwidth, '', $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
|