/dports/graphics/svgbob/svgbob-c3e84c87094550d8cdc6fc48b40a00712b2951cb/svgbob_cli/cargo-crates/svgbob-0.4.1/src/ |
H A D | settings.rs | 5 pub text_height: f32, field 23 pub fn set_size(&mut self, text_width: f32, text_height: f32) { in set_size() 25 self.text_height = text_height; in set_size() 30 self.text_height = self.text_height * scale; in scale() 41 text_height: 16.0, in default()
|
H A D | loc_block.rs | 19 fn text_height(&self) -> f32 { in text_height() method 20 self.settings.text_height in text_height() 41 self.text_height() * 1.0 / 4.0 in unit_y() 67 self.loc_y() * self.text_height() in y0() 71 (self.loc_y() + 1.0 / 4.0) * self.text_height() in y1() 75 (self.loc_y() + 1.0 / 2.0) * self.text_height() in y2() 79 (self.loc_y() + 3.0 / 4.0) * self.text_height() in y3() 83 (self.loc_y() + 1.0) * self.text_height() in y4()
|
/dports/graphics/svgbob/svgbob-c3e84c87094550d8cdc6fc48b40a00712b2951cb/svgbob/src/ |
H A D | settings.rs | 4 pub text_height: f32, field 22 pub fn set_size(&mut self, text_width: f32, text_height: f32) { in set_size() 24 self.text_height = text_height; in set_size() 29 self.text_height = self.text_height * scale; in scale() 39 text_height: 16.0, in default()
|
H A D | loc_block.rs | 17 fn text_height(&self) -> f32 { in text_height() method 18 self.settings.text_height in text_height() 39 self.text_height() * 1.0 / 4.0 in unit_y() 65 self.loc_y() * self.text_height() in y0() 69 (self.loc_y() + 1.0 / 4.0) * self.text_height() in y1() 73 (self.loc_y() + 1.0 / 2.0) * self.text_height() in y2() 77 (self.loc_y() + 3.0 / 4.0) * self.text_height() in y3() 81 (self.loc_y() + 1.0) * self.text_height() in y4()
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | exsyscur.c | 17 textprintf_centre_ex(screen, font, SCREEN_W/2, SCREEN_H/3+2*text_height(font), black, white, in do_select_cursor() 25 textprintf_centre_ex(screen, font, SCREEN_W/2, SCREEN_H/3+3*text_height(font), black, white, in do_select_cursor() 94 height = SCREEN_H/3+5*text_height(font); in main() 97 height += text_height(font); in main() 100 height += text_height(font); in main() 103 height += text_height(font); in main() 106 height += text_height(font); in main() 109 height += text_height(font); in main()
|
/dports/comms/linrad/linrad-04.02/ |
H A D | meter_graph.c | 35 #define MG_MIN_HEIGHT 8*text_height 298 iy=mg.ytop+2*text_height; in mg_compute_stonavg() 327 iy+=text_height; in mg_compute_stonavg() 330 iy+=text_height; in mg_compute_stonavg() 376 iy+=text_height; in mg_compute_stonavg() 379 iy+=text_height; in mg_compute_stonavg() 382 iy+=text_height; in mg_compute_stonavg() 385 iy+=text_height; in mg_compute_stonavg() 387 iy+=text_height; in mg_compute_stonavg() 389 iy+=text_height; in mg_compute_stonavg() [all …]
|
H A D | fcdpp.c | 381 lir_line(fcdgr.xleft,fcdgr.ytop+1.3*text_height,fcdgr.xright,fcdgr.ytop+1.3*text_height,7); in make_fcdproplus_control_graph() 386 fcdgrbutt[UG_LNA_ON_OFF].y1=fcdgr.ytop+1.5*text_height; in make_fcdproplus_control_graph() 387 fcdgrbutt[UG_LNA_ON_OFF].y2=fcdgr.ytop+2.4*text_height; in make_fcdproplus_control_graph() 392 fcdgrbutt[UG_MIXER_GAIN_ON_OFF].y1=fcdgr.ytop+2.5*text_height; in make_fcdproplus_control_graph() 393 fcdgrbutt[UG_MIXER_GAIN_ON_OFF].y2=fcdgr.ytop+3.4*text_height; in make_fcdproplus_control_graph() 398 fcdgrbutt[UG_BIAS_T_ON_OFF].y1=fcdgr.ytop+3.5*text_height; in make_fcdproplus_control_graph() 399 fcdgrbutt[UG_BIAS_T_ON_OFF].y2=fcdgr.ytop+4.4*text_height; in make_fcdproplus_control_graph() 678 if(mouse_y > (fcdgr.ytop+3.5*text_height)) in mouse_on_fcdproplus_graph() 680 numinput_ypix=fcdgr.ytop+3.6*text_height; in mouse_on_fcdproplus_graph() 686 else if(mouse_y > (fcdgr.ytop+2.5*text_height)) in mouse_on_fcdproplus_graph() [all …]
|
H A D | users_tr.c | 338 lir_pixwrite(ug.xleft+.5*text_width,ug.ytop+1.5*text_height,s); in set_press_q_key_chnge_port_msg() 363 lir_pixwrite(ug.xleft+1.5*text_width,ug.ytop+2.5*text_height,s); in users_show_offset() 397 lir_pixwrite(ug.xleft+.5*text_width,ug.ytop+0.35*text_height,s); in show_user_parms() 403 lir_pixwrite(ug.xleft+.5*text_width,ug.ytop+1.5*text_height,s); in show_user_parms() 512 lir_line(ug.xleft+10*text_width,ug.ytop+0*text_height,ug.xleft+10*text_width,ug.ytop+1.3*text_heigh… in make_users_control_graph() 514 lir_line(ug.xleft,ug.ytop+1.3*text_height,ug.xright,ug.ytop+1.3*text_height,7); in make_users_control_graph() 693 if(mouse_y > ug.ytop && mouse_y < (ug.ytop+1.3*text_height)) in mouse_on_users_graph() 705 if(mouse_y > (ug.ytop+3.8*text_height)) in mouse_on_users_graph() 707 numinput_ypix=ug.ytop+3.6*text_height; in mouse_on_users_graph() 716 numinput_ypix=ug.ytop+(2.4*text_height)+1; in mouse_on_users_graph() [all …]
|
H A D | wide_graph.c | 660 j=wg.yborder-text_height-YBO; in mouse_continue_wide_graph() 674 j=wg.ytop+text_height+YBO; in mouse_continue_wide_graph() 676 j=wg.ybottom-2*text_height; in mouse_continue_wide_graph() 689 j=wg.yborder+2*text_height; in mouse_continue_wide_graph() 1032 current_graph_minh=YBO+3*text_height; in make_wide_graph() 1037 if(wg.ybottom-wg.ytop<3*text_height+YBO) in make_wide_graph() 1043 if(wg.yborder < wg.ytop+text_height+YBO)wg.yborder=wg.ytop+text_height+YBO; in make_wide_graph() 1044 if(wg.yborder > wg.ybottom-2*text_height)wg.yborder=wg.ybottom-2*text_height; in make_wide_graph() 1047 wg_waterf_y1=wg.ytop+text_height+YWF+1; in make_wide_graph() 1342 while( scale_y-(float)(text_height/2-2) > wg.yborder+1.5*text_height) in make_wide_graph() [all …]
|
H A D | hires_graph.c | 393 j=hg.ybottom-4*text_height; in mouse_continue_hires_graph() 407 j=hg.ytop+4*text_height; in mouse_continue_hires_graph() 791 current_graph_minh=7*text_height/2; in make_hires_graph() 827 hg_ymax=hg.ytop+3*text_height/2; in make_hires_graph() 831 y=hg.ybottom-text_height/2-2; in make_hires_graph() 869 hg_y0=hg.ybottom-text_height/2-4; in make_hires_graph() 872 hg_y0-=text_height+2; in make_hires_graph() 938 hg_y0-=text_height/2+2; in make_hires_graph() 966 timf2_hg_y[0]=y-text_height/2; in make_hires_graph() 970 timf2_hg_yh=text_height; in make_hires_graph() [all …]
|
H A D | elektor.c | 360 lir_line(egr.xleft+30.5*text_width,egr.ytop+1.3*text_height, in make_elektor_control_graph() 363 lir_line(egr.xleft,egr.ytop+1.3*text_height,egr.xright,egr.ytop+1.3*text_height,7); in make_elektor_control_graph() 412 lir_pixwrite(egr.xleft+.5*text_width,egr.ytop+1.5*text_height,s); in show_elektor_parms() 715 numinput_ypix=egr.ytop+3.6*text_height; in mouse_on_elektor_graph() 725 if(mouse_y > (egr.ytop+3.5*text_height)) in mouse_on_elektor_graph() 727 numinput_ypix=egr.ytop+3.6*text_height; in mouse_on_elektor_graph() 733 else if(mouse_y > (egr.ytop+2.5*text_height)) in mouse_on_elektor_graph() 735 numinput_ypix=egr.ytop+(2.4*text_height)+2; in mouse_on_elektor_graph() 741 else if(mouse_y > (egr.ytop+1.5*text_height)) in mouse_on_elektor_graph() 743 numinput_ypix=egr.ytop+(1.4*text_height)+2; in mouse_on_elektor_graph() [all …]
|
H A D | users.c | 288 lir_pixwrite(ug.xleft+6*text_width,ug.ytop+text_height,s); in show_user_parms() 290 lir_pixwrite(ug.xleft+6*text_width,ug.ytop+2*text_height,s); in show_user_parms() 430 numinput_ypix=ug.ytop+2*text_height; in mouse_on_users_graph() 438 numinput_ypix=ug.ytop+text_height; in mouse_on_users_graph() 491 make_button(ug.xleft+text_width,ug.ybottom-3*text_height/2-2, in make_users_control_graph() 493 make_button(ug.xright-text_width,ug.ybottom-3*text_height/2-2, in make_users_control_graph() 495 make_button(ug.xleft+text_width,ug.ybottom-text_height/2-2, in make_users_control_graph() 508 ug.ybottom=3.5*text_height; in init_users_control_window()
|
/dports/deskutils/osmo/osmo-0.4.4/src/ |
H A D | tasks_print.c | 86 gint text_width, text_height, task_height; in tasks_draw_page() local 111 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 117 ycursor = text_height; in tasks_draw_page() 120 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 121 cairo_move_to (cr, page_width - text_width - 4, ycursor - text_height); in tasks_draw_page() 137 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 143 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 149 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 155 pango_layout_get_pixel_size (layout, &text_width, &text_height); in tasks_draw_page() 182 pango_layout_get_pixel_size(layout, &text_width, &text_height); in tasks_draw_page() [all …]
|
/dports/x11-wm/sway/sway-1.5.1/swaynag/ |
H A D | render.c | 11 int text_width, text_height; in render_message() local 17 uint32_t ideal_height = text_height + padding * 2; in render_message() 24 cairo_move_to(cairo, padding, (int)(ideal_height - text_height) / 2); in render_message() 33 int text_width, text_height; in render_details_scroll_button() local 52 button->y + border + (button->height - text_height) / 2); in render_details_scroll_button() 101 int text_width, text_height; in render_detailed() local 103 pango_layout_get_pixel_size(layout, &text_width, &text_height); in render_detailed() 132 pango_layout_get_pixel_size(layout, &text_width, &text_height); in render_detailed() 174 int text_width, text_height; in render_button() local 181 uint32_t ideal_height = text_height + padding * 2 + border * 2; in render_button() [all …]
|
/dports/graphics/zint/zint-2.10.0-src/backend/ |
H A D | vector.c | 402 int text_height; /* Font pixel size (so whole integers) */ in plot_vector() local 448 text_height = symbol->output_options & SMALL_TEXT ? 7 : 10; in plot_vector() 451 text_gap = -text_height * digit_ascent_factor + 0.5f; in plot_vector() 453 text_height = symbol->output_options & SMALL_TEXT ? 6 : 7; in plot_vector() 454 text_gap = text_height * 0.1f; in plot_vector() 463 textoffset = text_height + 0.2f + text_gap; /* Add fudge for anti-aliasing of digits */ in plot_vector() 484 default_text_posn = symbol->height + text_height + text_gap + symbol->whitespace_height in plot_vector() 487 default_text_posn = symbol->height + text_height + text_gap + symbol->whitespace_height; in plot_vector() 592 … addon_text_posn = row_posn + text_height - text_height * digit_ascent_factor; in plot_vector() 711 … vector_plot_add_string(symbol, textpart2, textpos, default_text_posn, text_height, textwidth, 0, in plot_vector() [all …]
|
/dports/graphics/p5-Imager/Imager-1.012/samples/ |
H A D | align-string.pl | 30 my $text_height = $bounds->text_height; 33 ysize => $text_height * 2 * @valigns); 37 my $ypos = $text_height; 51 $ypos += 2 * $text_height;
|
/dports/x11-wm/sway/sway-1.5.1/swaybar/ |
H A D | render.c | 42 int text_width, text_height; in render_status_line_error() local 54 double text_y = height / 2.0 - text_height / 2.0; in render_status_line_error() 72 int text_width, text_height; in render_status_line_text() local 88 double text_y = height / 2.0 - text_height / 2.0; in render_status_line_text() 163 int text_width, text_height; in render_status_block() local 270 double text_y = height / 2.0 - text_height / 2.0; in render_status_block() 317 int text_width, text_height; in predict_status_block_pos() local 389 int text_width, text_height; in predict_workspace_button_length() local 433 int text_width, text_height; in predict_binding_mode_indicator_length() local 504 int text_width, text_height; in render_binding_mode_indicator() local [all …]
|
/dports/games/d2x/d2x-0.2.5/unused/ui/ |
H A D | barbox.c | 35 short text_width, text_height, avg; in ui_barbox_open() local 50 gr_get_string_size(text, &text_width, &text_height, &avg ); in ui_barbox_open() 58 height = text_height; in ui_barbox_open() 74 y = 5 + text_height/2 ; in ui_barbox_open() 78 y = 10 + text_height; in ui_barbox_open()
|
H A D | number.c | 36 short box_width, box_height, text_height, text_width; in ui_input_number() local 49 gr_get_string_size(text, &text_width, &text_height, &avg ); in ui_input_number() 59 height = text_height; in ui_input_number() 84 y = TEXT_EXTRA_HEIGHT + text_height/2 - 1; in ui_input_number() 88 y = 2*TEXT_EXTRA_HEIGHT + text_height; in ui_input_number()
|
/dports/biology/garlic/garlic-1.6/ |
H A D | draw_venn.c | 82 int text_width, text_height; in DrawVenn_() local 133 text_height = guiSP->main_winS.font_height; in DrawVenn_() 480 screen_y0 = screen_margin_y + text_height - 1; in DrawVenn_() 491 screen_y0 = screen_margin_y + (int) d + text_height - 1; in DrawVenn_() 502 screen_y0 = screen_margin_y + text_height - 1; in DrawVenn_() 525 d = 0.200 * (double) screen_delta_y + text_height; in DrawVenn_() 538 screen_y0 = screen_margin_y + (int) d + text_height - 1; in DrawVenn_() 550 screen_y0 = screen_margin_y + (int) d + text_height - 1; in DrawVenn_() 575 screen_y0 = screen_margin_y + (int) d + text_height - 1; in DrawVenn_() 587 screen_y0 = screen_margin_y + (int) d + text_height - 1; in DrawVenn_() [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | message_overlay.cpp | 48 bitmap->Blit(0, i * text_height, *black, black->GetRect(), 128); in Draw() 56 i * text_height, in Draw() 58 text_height), in Draw() 108 black = Bitmap::Create(DisplayUi->GetWidth(), text_height, Color(0, 0, 0, 255)); in Update() 109 bitmap = Bitmap::Create(DisplayUi->GetWidth(), text_height * message_max, true); in Update()
|
/dports/databases/grass7/grass-7.8.6/display/d.histogram/ |
H A D | bar.c | 49 int text_height; in bar() local 318 text_height = (b - t) * TEXT_HEIGHT; in bar() 324 text_height *= 0.75; in bar() 325 D_text_size(text_width, text_height); in bar() 349 text_height = (b - t) * TEXT_HEIGHT; in bar() 351 D_text_size(text_width, text_height); in bar() 394 text_height = (b - t) * TEXT_HEIGHT; in bar() 400 text_height *= 0.75; in bar() 401 D_text_size(text_width, text_height); in bar() 432 text_height = (b - t) * TEXT_HEIGHT; in bar() [all …]
|
/dports/graphics/birdfont/birdfont-2.29.5/libbirdfont/ |
H A D | FontName.vala | 35 double text_height; 46 text_height = 22 * Toolbox.get_scale (); 49 font_name.set_font_size (text_height); 52 text_height *= max_width / extent; 56 font_name.set_font_size (text_height);
|
/dports/games/tetzle/tetzle-2.2.0/src/ |
H A D | thumbnail_delegate.cpp | 79 int text_height = line_height + small_line_height; in paint() local 81 …nail_rect.right() + 7, option.rect.top() + 2 + (option.rect.height() - text_height) / 2, text_widt… in paint() 87 int text_height = line_height + small_line_height; in paint() local 89 …text_rect.setRect(2, option.rect.top() + 2 + (option.rect.height() - text_height) / 2, text_width,… in paint() 125 int text_height = option.fontMetrics.lineSpacing() + m_small_font_metrics.lineSpacing(); in sizeHint() local 127 return QSize(150, 78 + text_height); in sizeHint() 129 return QSize(option.rect.width(), std::max(78, text_height + 4)); in sizeHint()
|
/dports/deskutils/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.2/panel-plugin/ |
H A D | xkb-cairo.c | 153 double layoutx, layouty, text_width, text_height; in xkb_cairo_draw_label() local 184 text_height = actual_height * scaley; in xkb_cairo_draw_label() 185 scaley = text_height / pango_height; in xkb_cairo_draw_label() 186 radius = (text_height < 32) ? 1.2 : 2.5; in xkb_cairo_draw_label() 199 layouty = (actual_height - text_height) / 2; in xkb_cairo_draw_label() 201 DBG ("text_width/height: %.2f/%.2f", text_width, text_height); in xkb_cairo_draw_label() 214 y = layouty + text_height - (text_height / 5); in xkb_cairo_draw_label()
|