/dports/net-im/uTox/uTox/src/ui/ |
H A D | text.c | 133 y += lineheight; in utox_draw_text_multiline_within_box() 143 y += lineheight; in utox_draw_text_multiline_within_box() 179 y += lineheight; in utox_draw_text_multiline_within_box() 188 return y + lineheight; in utox_draw_text_multiline_within_box() 250 my -= lineheight; in hittextmultiline() 285 y += lineheight; in text_height() 304 y += lineheight; in text_height() 312 y += lineheight; in text_height() 358 y += lineheight; in textxy() 379 y -= lineheight; in text_lineup() [all …]
|
H A D | text.h | 13 …x_draw_text_multiline_within_box(int x, int y, int right, int top, int bottom, uint16_t lineheight, 17 uint16_t hittextmultiline(int mx, int right, int my, int height, uint16_t lineheight, char *str, ui… 20 int text_height(int right, uint16_t lineheight, char *str, uint16_t length); 22 uint16_t text_lineup(int width, int height, uint16_t p, uint16_t lineheight, char *str, uint16_t le… 24 uint16_t text_linedown(int width, int height, uint16_t p, uint16_t lineheight, char *str, uint16_t …
|
/dports/print/pdf-renderer/pdf-renderer-0.9.1,1/demos/viewer/com/sun/pdfview/ |
H A D | ThumbPanel.java | 56 int lineheight = 96 + border; field in ThumbPanel 61 int defaultWidth = (lineheight - border) * 4 / 3; 174 int size = lineheight - border; in run() 222 int line = y / lineheight; in handleClick() 245 int y = -lineheight; in pageShown() 248 y += lineheight; in pageShown() 254 lineheight); in pageShown() 313 y += lineheight; in paint() 334 g.drawRect(x, y, w - 1, lineheight - 1); in paint() 374 return Math.max(lineheight, (visrect.height / lineheight) * lineheight); in getScrollableBlockIncrement() [all …]
|
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/Gwen/Controls/ |
H A D | RichLabel.cpp | 73 return CreateLabel(text, txt, x, y, lineheight, true); in SplitLabel() 82 CreateLabel(lst[0], txt, x, y, lineheight, true); in SplitLabel() 98 y += lineheight; in SplitLabel() 123 if (lineheight == -1) in CreateLabel() 125 lineheight = p.y; in CreateLabel() 132 return SplitLabel(text, pFont, txt, x, y, lineheight); in CreateLabel() 141 CreateNewline(x, y, lineheight); in CreateLabel() 157 CreateNewline(x, y, lineheight); in CreateLabel() 164 y += lineheight; in CreateNewline() 173 int lineheight = -1; in Rebuild() local [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/Gwen/Controls/ |
H A D | RichLabel.cpp | 73 return CreateLabel(text, txt, x, y, lineheight, true); in SplitLabel() 82 CreateLabel(lst[0], txt, x, y, lineheight, true); in SplitLabel() 98 y += lineheight; in SplitLabel() 123 if (lineheight == -1) in CreateLabel() 125 lineheight = p.y; in CreateLabel() 132 return SplitLabel(text, pFont, txt, x, y, lineheight); in CreateLabel() 141 CreateNewline(x, y, lineheight); in CreateLabel() 157 CreateNewline(x, y, lineheight); in CreateLabel() 164 y += lineheight; in CreateNewline() 173 int lineheight = -1; in Rebuild() local [all …]
|
/dports/emulators/mess/mame-mame0226/src/frontend/mame/ui/ |
H A D | confswitch.cpp | 275 float const lineheight(ui().get_line_height()); in custom_render() local 276 float const singlewidth(lineheight * SINGLE_TOGGLE_SWITCH_FIELD_WIDTH * aspect); in custom_render() 299 float const namewidth(width - (singlewidth * maxswitches) - (lineheight * aspect)); in custom_render() 303 float const nubheight(lineheight * SINGLE_TOGGLE_SWITCH_HEIGHT); in custom_render() 304 float const nubwidth(lineheight * SINGLE_TOGGLE_SWITCH_WIDTH * aspect); in custom_render() 305 float const ygap(lineheight * ((DIP_SWITCH_HEIGHT / 2) - SINGLE_TOGGLE_SWITCH_HEIGHT) / 2); in custom_render() 326 nameleft, liney + (lineheight * (DIP_SWITCH_HEIGHT - 1.0f) / 2.0f), namewidth, in custom_render() 331 float const switchbottom(liney + (DIP_SWITCH_HEIGHT * lineheight)); in custom_render() 383 float const lineheight(ui().get_line_height()); in populate() local 384 float const groupheight(DIP_SWITCH_HEIGHT * lineheight); in populate() [all …]
|
/dports/emulators/mame/mame-mame0226/src/frontend/mame/ui/ |
H A D | confswitch.cpp | 275 float const lineheight(ui().get_line_height()); in custom_render() local 276 float const singlewidth(lineheight * SINGLE_TOGGLE_SWITCH_FIELD_WIDTH * aspect); in custom_render() 299 float const namewidth(width - (singlewidth * maxswitches) - (lineheight * aspect)); in custom_render() 303 float const nubheight(lineheight * SINGLE_TOGGLE_SWITCH_HEIGHT); in custom_render() 304 float const nubwidth(lineheight * SINGLE_TOGGLE_SWITCH_WIDTH * aspect); in custom_render() 305 float const ygap(lineheight * ((DIP_SWITCH_HEIGHT / 2) - SINGLE_TOGGLE_SWITCH_HEIGHT) / 2); in custom_render() 326 nameleft, liney + (lineheight * (DIP_SWITCH_HEIGHT - 1.0f) / 2.0f), namewidth, in custom_render() 331 float const switchbottom(liney + (DIP_SWITCH_HEIGHT * lineheight)); in custom_render() 383 float const lineheight(ui().get_line_height()); in populate() local 384 float const groupheight(DIP_SWITCH_HEIGHT * lineheight); in populate() [all …]
|
/dports/graphics/tesseract/tesseract-5.0.0/src/textord/ |
H A D | oldbasel.cpp | 225 float lineheight; /*mean x-height */ in correlate_with_stats() local 275 if (lineheight > 0.0f) { in correlate_with_stats() 290 row->xheight = lineheight; in correlate_with_stats() 296 row->xheight = lineheight; in correlate_with_stats() 365 lineheight, jumplimit); in find_textlines() 420 int32_t lineheight, // block level in get_blob_coords() argument 1357 int lineheight; /*approx xheight */ in old_first_xheight() local 1375 if (lineheight <= 0) { in old_first_xheight() 1379 lineheight = initialheight; in old_first_xheight() 1382 lineheight = in old_first_xheight() [all …]
|
/dports/sysutils/asfsm/asfsm-1.0pre15/ |
H A D | asfsm.c | 394 fs->y1=y-(lineheight/2); in calclinewidth() 396 fs->y2=y+(lineheight/2); in calclinewidth() 423 y=1+(lineheight/2); in checkusage() 442 3, y+lineheight/2+3, in checkusage() 445 3, y-lineheight/2+3, in checkusage() 448 3, y+lineheight/2+3, in checkusage() 449 3, y-lineheight/2+3); in checkusage() 456 3, y+lineheight/2+3, in checkusage() 470 y=y+lineheight+1; in checkusage() 1003 y=1+(lineheight/2); in handleclick() [all …]
|
/dports/games/xzip/xzip/ |
H A D | xstat.c | 63 stat_realhgt = rows * lineheight; 321 …XClearArea(xiodpy, xioswin, pos*SPACEWIDTH, ix*lineheight, (px-pos)*SPACEWIDTH, lineheight, FALSE); in xstat_layout() 324 …gle(xiodpy, xioswin, gcsfont[attr], pos*SPACEWIDTH, ix*lineheight, (px-pos)*SPACEWIDTH, lineheight… in xstat_layout() 325 …XDrawString(xiodpy, xioswin, gcsnegfont[attr], pos*SPACEWIDTH, ix*lineheight+lineheightoff, curlin… in xstat_layout() 328 …XClearArea(xiodpy, xioswin, pos*SPACEWIDTH, ix*lineheight, (px-pos)*SPACEWIDTH, lineheight, FALSE); in xstat_layout() 329 …XDrawString(xiodpy, xioswin, gcsfont[attr], pos*SPACEWIDTH, ix*lineheight+lineheightoff, curline->… in xstat_layout() 339 dotdrawny = cursory * lineheight + lineheightoff; in xstat_layout() 394 newheight = curlines*lineheight; 415 szhints.height_inc = lineheight;
|
/dports/net/vnstat/vnstat-2.8/src/ |
H A D | image.c | 12 ic->lineheight = 12; in initimagecontent() 382 height = 62 + 3 * ic->lineheight; in drawlist() 386 height = 62 + 2 * ic->lineheight; in drawlist() 391 height = 62 + 3 * ic->lineheight; in drawlist() 445 …Line(ic->im, textx + 2, texty + ic->lineheight + 4, textx + (65 * ic->font->w) + offsetx + 2, text… in drawlist() 451 texty += ic->lineheight + 8; in drawlist() 475 texty += ic->lineheight + cfg.linespaceadjust; in drawlist() 534 texty += ic->lineheight + cfg.linespaceadjust; in drawlist() 549 texty += ic->lineheight; in drawlist() 616 height = 56 + 12 * ic->lineheight; in drawsummary() [all …]
|
/dports/textproc/heirloom-doctools/heirloom-doctools-160308/troff/troff.d/dhtml/ |
H A D | tr_out.c | 42 static int lineheight; variable 148 lineheight = i; in out_n() 161 if (!lineheight) return; in out_V() 162 prevv += lineheight; in out_V() 169 lineheight = 0; in out_V() 176 if (lineheight) i -= totalh; in out_h()
|
/dports/games/spellcast/spellcast/ |
H A D | xtext.c | 31 py->lineheight = ascent+descent; 32 if (py->lineheight <= 12) 33 py->lineheight += 2; 35 py->lineheight = (int)((double)(py->lineheight)*1.17); 39 py->sitext.visible = (TEXT_HGT-2) / py->lineheight; 54 py->sitext.lineheight = py->lineheight; 82 py->texty + py->lineheight*sline, 85 py->lineheight*sline - py->ascent, TEXT_WID-width, 181 py->texty + py->lineheight*sline, cx, len); 302 ln = (ypos-si->y) / si->lineheight;
|
H A D | xtalk.c | 49 caret[0].y = TALK_Y+py->lineheight + 4; 54 width = DrawStringField(py, py->talk_buf, TALK_X, TALK_Y+py->lineheight, TALK_W); 57 caret[0].y = TALK_Y+py->lineheight + 4; 60 py->talk_toobig = (width >= (TALK_W-py->lineheight)); 67 py->lineheight+TALK_LEADING+4);
|
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/common/ |
H A D | layout.c | 1066 *lineheight)); in AdjustBaseline() 1134 *lineheight)); in AdjustBaseline() 1528 if(font->lineheight > basefont->lineheight) in ComputeTextLayout() 1639 y_pos += lineheight; in ComputeTextLayout() 1759 p_height += lineheight; in ComputeTextLayout() 1931 if(lineheight > base_obj->font->lineheight) in ComputeTextLayout() 1953 box->y += lineheight; in ComputeTextLayout() 2140 if(font->lineheight > basefont->lineheight) in ComputeTextLayoutPre() 2144 lineheight = basefont->lineheight; in ComputeTextLayoutPre() 2243 lineheight = basefont->lineheight; in ComputeTextLayoutPre() [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/common/ |
H A D | layout.c | 1022 *lineheight)); in AdjustBaseline() 1090 *lineheight)); in AdjustBaseline() 1442 if(font->lineheight > basefont->lineheight) in ComputeTextLayout() 1531 y_pos += lineheight; in ComputeTextLayout() 1639 p_height += lineheight; in ComputeTextLayout() 1842 if(lineheight > base_obj->font->lineheight) in ComputeTextLayout() 1864 box->y += lineheight; in ComputeTextLayout() 2051 if(font->lineheight > basefont->lineheight) in ComputeTextLayoutPre() 2055 lineheight = basefont->lineheight; in ComputeTextLayoutPre() 2154 lineheight = basefont->lineheight; in ComputeTextLayoutPre() [all …]
|
/dports/graphics/zgv/zgv-5.9/src/ |
H A D | helppage.c | 88 int hdr_ypos,subhdr_ypos,linestart,lineheight; in showhelp() local 98 lineheight=scrn_h/24; in showhelp() 123 vgadrawtext(colpos[threecol][0],linestart+f*lineheight,3,tmpbuf); in showhelp() 125 vgadrawtext(colpos[threecol][1],linestart+f*lineheight,3,ptr1+1); in showhelp() 127 vgadrawtext(colpos[threecol][2],linestart+f*lineheight,3,ptr2+1); in showhelp()
|
/dports/sysutils/loganalyzer/loganalyzer-4.1.12/src/classes/html2fpdf/ |
H A D | html2fpdf.php | 129 var $lineheight; //! int variable in HTML2FPDF 698 $this->lineheight *= 2; 702 $this->lineheight *= 1.5; 706 $this->lineheight *= 1.17; 724 $this->Ln(0.2*$this->lineheight); 753 $this->Ln(0.2*$this->lineheight); 838 $this->Ln($this->lineheight); 1374 $this->Ln(0.5*$this->lineheight); 1421 $this->lineheight = 5; 1422 $this->Ln($this->lineheight); [all …]
|
/dports/graphics/R-cran-ggplot2/ggplot2/R/ |
H A D | theme-elements.r | 111 size = NULL, hjust = NULL, vjust = NULL, angle = NULL, lineheight = NULL, argument 118 length(hjust), length(vjust), length(angle), length(lineheight) 127 hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, nameattr 215 hjust = NULL, vjust = NULL, angle = NULL, lineheight = NULL, argument 230 lineheight = lineheight) 233 lineheight = element$lineheight)
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/hugo/ |
H A D | hemisc.cpp | 219 ratio = (double)lineheight; in AP() 221 ratio /= (double)lineheight; in AP() 285 current_text_y+lineheight-1); in AP() 404 current_text_y+lineheight-1); in AP() 427 current_text_y+lineheight-1); in AP() 859 current_text_y+lineheight-1); in Flushpbuffer() 891 physical_windowleft+width, y+lineheight-1); in GetCommand() 1479 if (lineheight < FIXEDLINEHEIGHT) in Printout() 1480 lineheight = FIXEDLINEHEIGHT; in Printout() 1609 && physical_windowbottom-current_text_y-lineheight > lineheight/2) in Printout() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/hugo/ |
H A D | hemisc.cpp | 219 ratio = (double)lineheight; in AP() 221 ratio /= (double)lineheight; in AP() 285 current_text_y+lineheight-1); in AP() 404 current_text_y+lineheight-1); in AP() 427 current_text_y+lineheight-1); in AP() 859 current_text_y+lineheight-1); in Flushpbuffer() 891 physical_windowleft+width, y+lineheight-1); in GetCommand() 1479 if (lineheight < FIXEDLINEHEIGHT) in Printout() 1480 lineheight = FIXEDLINEHEIGHT; in Printout() 1609 && physical_windowbottom-current_text_y-lineheight > lineheight/2) in Printout() [all …]
|
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/graphics/barcode/ |
H A D | lto.py | 170 lineheight = 3.9 * cm 173 ypos += lineheight 177 ypos += lineheight 180 ypos += lineheight 184 ypos += lineheight 188 ypos += lineheight
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/addons/ |
H A D | mtext.py | 84 def lineheight(self) -> float: member in MText 120 y -= linenum * self.lineheight 122 y0 = linenum * self.lineheight 123 fullheight = (len(self.textlines) - 1) * self.lineheight 126 y += (len(self.textlines) - 1 - linenum) * self.lineheight
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/reftests/fonts/ |
H A D | mark-generate.py | 90 lineheight = 1500 variable 91 n = "MarkA-lineheight" + str(lineheight) 108 f.os2_typolinegap = lineheight - (f.os2_typoascent - f.os2_typodescent) 110 f.hhea_linegap = lineheight - 800 112 f.generate("markA-lineheight" + str(lineheight) + ".ttf")
|
/dports/lang/spidermonkey60/firefox-60.9.0/layout/reftests/fonts/ |
H A D | mark-generate.py | 90 lineheight = 1500 variable 91 n = "MarkA-lineheight" + str(lineheight) 108 f.os2_typolinegap = lineheight - (f.os2_typoascent - f.os2_typodescent) 110 f.hhea_linegap = lineheight - 800 112 f.generate("markA-lineheight" + str(lineheight) + ".ttf")
|