Home
last modified time | relevance | path

Searched refs:fontheight (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/dports/graphics/svgalib/svgalib-1.4.3/utils/
H A Dconvfont.c8 int fontheight; variable
44 fontheight = atoi (argv[2]); in main()
45 if (fontheight < 1 || fontheight > 32) in main()
54 font_nuchars = sfontsize / fontheight; in main()
67 for (j = 0; j < fontheight; j++) in main()
69 sfontbuf[i * fontheight + j]; in main()
71 for (j = 0; j < 32 - fontheight; j++) in main()
72 tfontbuf[i * 32 + fontheight] = 0; in main()
/dports/graphics/mapcache/mapcache-1.10.0/lib/
H A Dimage_error.c3881 static int fontheight = 13; variable
3887 if(x>=0 && x<im->w-fontwidth && y>=0 && y<im->h-fontheight) { in renderGlyph()
3889 char *bitmap = &fontData[glyph*fontwidth*fontheight]; in renderGlyph()
3890 for(i=0; i<fontheight; i++) { in renderGlyph()
3909 int maxlines = im->h / fontheight - 1; in writeErrorImage()
3914 int voffset = im->h/2 - fontheight/2; in writeErrorImage()
3953 y = im->h/2 - nlines*(fontheight+2)/2 - 2; in writeErrorImage()
3958 y += fontheight + 2; in writeErrorImage()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dwincurse.cpp48 int fontheight; //the height of the font, background is always this size variable
182 TERMINAL_HEIGHT = WndRect.bottom / fontheight; in handle_resize()
184 WindowHeight = TERMINAL_HEIGHT * fontheight; in handle_resize()
205 WndRect.bottom = cell_h * fontheight * get_scaling_factor(); in resize_term()
456 drawy = ( ( win->pos.y + j ) * fontheight ); //-j; in curses_drawwindow()
464 FillRectDIB( drawx, drawy, fontwidth, fontheight, BG ); in curses_drawwindow()
577 return get_option<int>( "TERMINAL_Y" ) * fontheight; in projected_window_height()
603 ::fontheight = fl.fontheight; in init_interface()
605 halfheight = fontheight / 2; in init_interface()
609 WindowHeight = TERMINAL_HEIGHT * fontheight; in init_interface()
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dwincurse.cpp48 int fontheight; //the height of the font, background is always this size variable
182 TERMINAL_HEIGHT = WndRect.bottom / fontheight; in handle_resize()
184 WindowHeight = TERMINAL_HEIGHT * fontheight; in handle_resize()
205 WndRect.bottom = cell_h * fontheight * get_scaling_factor(); in resize_term()
456 drawy = ( ( win->pos.y + j ) * fontheight ); //-j; in curses_drawwindow()
464 FillRectDIB( drawx, drawy, fontwidth, fontheight, BG ); in curses_drawwindow()
577 return get_option<int>( "TERMINAL_Y" ) * fontheight; in projected_window_height()
603 ::fontheight = fl.fontheight; in init_interface()
605 halfheight = fontheight / 2; in init_interface()
609 WindowHeight = TERMINAL_HEIGHT * fontheight; in init_interface()
[all …]
/dports/graphics/pear-Horde_Image/Horde_Image-2.6.1/lib/Horde/Image/Effect/Gd/
H A DTextWatermark.php68 $fontheight = $this->_image->call('imageFontHeight', array($f));
84 - ($fontheight * count($lines)))
90 - (($fontheight * count($lines)) + $margin);
125 $y += $fontheight;
154 $y += $fontheight;
175 $y += $fontheight;
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/widgets/
H A Dcolorbar.py124 fontheight = utils.FontMetrics(font, painter.device()).height()
132 totalwidth = bounds[2] - bounds[0] - 2*fontheight
134 totalwidth = fontheight
141 totalheight = fontheight
143 totalheight = bounds[3] - bounds[1] - 2*fontheight
150 bounds[0] += fontheight
153 bounds[2] -= fontheight
166 bounds[1] += fontheight
169 bounds[3] -= fontheight
/dports/graphics/aalib/aalib-1.4.0/src/
H A Daax.c222 data = malloc(256 * d->fontheight); in X_init()
226 for (y = 0; y < d->fontheight; y++) { in X_init()
228 o = ((mygetpixel(image, 0, i * d->fontheight + y) != 0) << 7) + in X_init()
235 ((mygetpixel(image, 7, i * d->fontheight + y) != 0) << 0); in X_init()
236 data[i * d->fontheight + y] = o; in X_init()
241 aafont.height = d->fontheight; in X_init()
310 *height1 = d->height = d->pixelheight / d->fontheight; in X_getsize()
410 rect->y = (y) * d->fontheight + 1; in MyDrawString()
415 rect->height = d->fontheight; in MyDrawString()
419 rect->y = (y) * d->fontheight + 1; in MyDrawString()
[all …]
/dports/astro/marble/marble-21.12.3/src/plugins/render/compass/
H A DCompassFloatItem.cpp113 int fontheight = QFontMetrics( font() ).ascent(); in backgroundShape() local
114 int compassLength = static_cast<int>( contentRect.height() ) - 5 - fontheight; in backgroundShape()
117 marginTop() + padding() + 5 + fontheight ), in backgroundShape()
144 int fontheight = QFontMetrics( font() ).ascent(); in paintContent() local
153 (qreal)(fontheight) + 2.0 ); in paintContent()
164 int compassLength = static_cast<int>( compassRect.height() ) - 5 - fontheight; in paintContent()
176 …( QPoint( static_cast<int>( compassRect.width() - compassLength ) / 2, fontheight + 5 ), m_compass… in paintContent()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/rasops/
H A Drasops.c296 ri->ri_optfont.fontheight = ri->ri_font->fontheight; in rasops_reconfig()
643 num *= ri->ri_font->fontheight; in rasops_copyrows()
759 height = ri->ri_font->fontheight; in rasops_copycols()
951 num *= ri->ri_font->fontheight; in rasops_eraserows()
1023 height = ri->ri_font->fontheight; in rasops_do_cursor()
1147 height = ri->ri_font->fontheight; in rasops_erasecols()
1349 height = ri->ri_font->fontheight; in rasops_copychar()
1385 height = ri->ri_font->fontheight; in rasops_putchar_rotated_cw()
1476 height = ri->ri_font->fontheight; in rasops_copychar_ccw()
1513 height = ri->ri_font->fontheight; in rasops_putchar_rotated_ccw()
[all …]
/dports/graphics/dia/dia-0.97.3/objects/GRAFCET/
H A Dboolequation.c92 booleq->fontheight); in textblock_get_boundingbox()
95 booleq->fontheight); in textblock_get_boundingbox()
98 booleq->fontheight); in textblock_get_boundingbox()
110 renderer_ops->set_font(renderer,booleq->font,booleq->fontheight); in textblock_draw()
192 dia_font_descent(ops,booleq->font,booleq->fontheight); in opblock_get_boundingbox()
193 block->ur.y = block->bl.y - booleq->fontheight; in opblock_get_boundingbox()
195 booleq->fontheight); in opblock_get_boundingbox()
207 renderer_ops->set_font(renderer,booleq->font,booleq->fontheight); in opblock_draw()
575 booleq->fontheight = fontheight; in boolequation_create()
603 real fontheight, Color *color) in load_boolequation() argument
[all …]
H A Dboolequation.h37 real fontheight; member
56 real fontheight, Color *color);
67 real fontheight,
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/wsfont/
H A Dwsfont.c320 nr = font->numchars * font->fontheight; in wsfont_revbyte()
375 newstride = (font->fontheight + 7) / 8; in wsfont_rotate_cw_internal()
386 (n * font->stride * font->fontheight); in wsfont_rotate_cw_internal()
388 for (r = 0; r < font->fontheight; r++) { in wsfont_rotate_cw_internal()
409 newfont->fontwidth = font->fontheight; in wsfont_rotate_cw_internal()
410 newfont->fontheight = font->fontwidth; in wsfont_rotate_cw_internal()
446 newstride = (font->fontheight + 7) / 8; in wsfont_rotate_ccw_internal()
457 (n * font->stride * font->fontheight); in wsfont_rotate_ccw_internal()
459 for (r = 0; r < font->fontheight; r++) { in wsfont_rotate_ccw_internal()
481 newfont->fontwidth = font->fontheight; in wsfont_rotate_ccw_internal()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/
H A Dwcfb.c463 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_putchar()
540 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_copycols()
564 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_erasecols()
760 he = font->fontheight; in wcfb_acc_putchar()
785 he = ri->ri_font->fontheight; in wcfb_acc_cursor()
821 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in wcfb_acc_copycols()
823 height = ri->ri_font->fontheight; in wcfb_acc_copycols()
839 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in wcfb_acc_erasecols()
841 height = ri->ri_font->fontheight; in wcfb_acc_erasecols()
861 height = ri->ri_font->fontheight * nrows; in wcfb_acc_copyrows()
[all …]
H A Dlynxfb.c527 rasops_reconfig(ri, fb->height / ri->ri_font->fontheight, in lynxfb_init_screen()
583 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight, in lynxfb_setup()
591 fb->wsd.fontheight = ri->ri_font->fontheight; in lynxfb_setup()
685 num *= f->fontheight; in lynxfb_copyrows1()
686 src *= f->fontheight; in lynxfb_copyrows1()
687 dst *= f->fontheight; in lynxfb_copyrows1()
702 row *= f->fontheight; in lynxfb_copycols1()
715 row *= f->fontheight; in lynxfb_erasecols1()
721 num, f->fontheight, bg); in lynxfb_erasecols1()
737 num *= f->fontheight; in lynxfb_eraserows1()
[all …]
/dports/games/zangband/zangband/src/
H A Dmain-xaw.c208 Dimension fontheight; member
436 x2 - x1, widget->angband.fontheight); in AngbandClearArea()
517 int wid, hgt = widget->angband.fontheight; in AngbandOutputPict()
940 current->angband.fontheight * wnew->angband.fontheight + in SetValues()
1488 td->widget->angband.fontheight - 1); in Term_curs_xaw()
1496 td->widget->angband.fontheight - 1); in Term_curs_xaw()
1687 td->widget->angband.fontheight + in term_data_init()
1882 (td->widget->angband.fontheight == o_td->widget->angband.fontheight)) in init_xaw()
1899 td->widget->angband.fontheight); in init_xaw()
1931 td->widget->angband.fontheight * ii; in init_xaw()
[all …]
/dports/graphics/iiview/iiview-0.31/
H A Dfbsupport.c50 int fontheight,fbdev; variable
101 for (yy=0;yy<fontheight;yy++) { in FB_Print()
204 fgetc(fp);fontheight=fgetc(fp); in FB_Init()
206 if ((font=(char *)malloc((size_t)fontheight*256))==NULL) { in FB_Init()
211 fread(font,256,(size_t)fontheight,fp); in FB_Init()
365 for (y=0;y<fontheight;y++) in FB_UpdateThumbs()
495 FB_Print(0,5*fontheight,Help1,0xFFFF00,0x000000); in FB_HelpScreen()
496 FB_Print(0,6*fontheight,Help2,0xFFFF00,0x000000); in FB_HelpScreen()
497 FB_Print(0,7*fontheight,Help3,0xFFFF00,0x000000); in FB_HelpScreen()
498 FB_Print(0,8*fontheight,Help4,0xFFFF00,0x000000); in FB_HelpScreen()
[all …]
/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dhpgl.c80 static int fontheight = FONTHEIGHT; variable
138 graph->fontheight = (int)(fontheight * scale); /* was 24, p.w.h. */ in GL_NewViewport()
144 graph->viewportyoff = 8 * fontheight; in GL_NewViewport()
153 tocm * jgmult * fontheight * scale); in GL_NewViewport()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/graphics/
H A Dfont.cpp31 static int fontheight = 0; variable
62 fontheight = 0; in font_init()
65 if (whitefont.letters[c]->h > fontheight) in font_init()
66 fontheight = whitefont.letters[c]->h; in font_init()
71 if (whitefont.letters[c]->h > fontheight) in font_init()
72 fontheight = whitefont.letters[c]->h; in font_init()
328 return fontheight; in GetFontHeight()
/dports/editors/wordgrinder/wordgrinder-0.6/src/c/arch/win32/gdi/
H A Dglyphcache.c16 static int fontheight = 0; variable
128 fi->logfont.lfHeight = fontheight; in font_reader_cb()
187 fontheight = defaultfont->lfHeight; in glyphcache_init()
193 if ((fontwidth <= 0) || (fontheight <= 0)) in glyphcache_init()
197 fontheight = tm.tmHeight; in glyphcache_init()
203 assert(fontheight > 0); in glyphcache_init()
280 *h = fontheight; in glyphcache_getfontsize()
512 h = fontheight; in create_glyph()
568 h = fontheight; in create_glyph()
/dports/cad/gtkwave/gtkwave-3.3.107/src/
H A Dprint.c553 if (wh < 2 * GLOBALS->fontheight) in pr_wave_init()
554 wh = 2 * GLOBALS->fontheight; in pr_wave_init()
565 fontheight))) in pr_wave_init()
872 fhminus2 = GLOBALS->fontheight - 2; in pr_renderhash()
962 GLOBALS->fontheight, in pr_renderblackout()
999 int y = GLOBALS->fontheight + 2; in pr_rendertimes()
1053 int y=GLOBALS->fontheight+2; in pr_rendertimes()
1180 for (y = GLOBALS->fontheight - 1; in pr_render_individual_named_marker()
1192 GLOBALS->fontheight - 1, nbuff, in pr_render_individual_named_marker()
3282 GLOBALS->fontheight - 1); in pr_RenderSigs()
[all …]
/dports/editors/aee/aee-bf68f4accb96ac39020ac2d9092022aebfa5df27/
H A DXcurse.c488 xsh.height = fontheight * LINES;
494 xsh.min_height = fontheight * 24;
499 xsh.height_inc = fontheight;
1341 wind_y_offset = window->SR * fontheight;
1342 …ind_y_offset + (row * fontheight)), (COLS * fontwidth), ((end_row - row) * fontheight), 0, (wind_y…
1343 …XClearArea(dp, wid, 0, (wind_y_offset + (row * fontheight)), (COLS * fontwidth), fontheight, FALSE…
1395 …_y_offset + ((row + 1) * fontheight)), (COLS * fontwidth), ((end_row - row) * fontheight), 0, (win…
1396 …XClearArea(dp, wid, 0, (wind_y_offset + (end_row * fontheight)), (COLS * fontwidth), fontheight, F…
1426 y = (row + window->SR) * fontheight;
1428 height = fontheight;
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dstats.cpp102 int fontheight = ConFont->GetHeight() + 1; in PrintStat() local
114 y -= fontheight; // there's at least one line of text in PrintStat()
118 if (stattext[i] == '\n') y -= fontheight; in PrintStat()
/dports/x11-toolkits/lesstif/lesstif-0.95.2/lib/Xm-2.1/
H A DXmIm.c435 int fontheight = 0; in XmImGetXIC() local
442 fontheight = TextF_FontHeight(w); in XmImGetXIC()
451 fontheight = Out_FontHeight(o); in XmImGetXIC()
500 rect.y = XtY(w) + XtHeight(w) - fontheight * 2; in XmImGetXIC()
502 rect.height = fontheight; in XmImGetXIC()
507 status_rect.height = fontheight; in XmImGetXIC()
1179 int fontheight = 0; in _XmImReconfigXIC() local
1193 spot.y = fontheight; in _XmImReconfigXIC()
1234 rect.y = XtY(w) + XtHeight(w) - fontheight * 2; in _XmImReconfigXIC()
1235 rect.height = fontheight; in _XmImReconfigXIC()
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/vdobler/chart/
H A Dkey.go138 fontwidth, fontheight, _ := bg.FontMetrics(font)
184 if fontwidth == 1 && fontheight == 1 {
203 totalh *= fontheight
204 totalh += int(KeyRowSep * float32((rows-1)*fontheight)) // add space between rows
205 vsep := KeyVertSep * float32(fontheight)
/dports/games/zdoom/zdoom-2.8.1/src/menu/
H A Dmessagebox.cpp181 int fontheight = SmallFont->GetHeight(); in Drawer() local
196 y += fontheight; in Drawer()
202 y += fontheight; in Drawer()
209 160, y + fontheight + 1, GStrings["TXT_NO"], DTA_Clean, true, TAG_DONE); in Drawer()
217 …(y + (fontheight + 1) * messageSelection - 100 + fontheight/2 - 5) * CleanYfac + screen->GetHeight… in Drawer()

12345678910>>...15