Home
last modified time | relevance | path

Searched refs:font_width (Results 1 – 6 of 6) sorted by relevance

/dflybsd-src/sys/dev/misc/syscons/
H A Dsckmsrndr.c410 blit_blk24(scp, char_data, scp->font_width, in kms_draw()
415 blit_blk32(scp, char_data, scp->font_width, in kms_draw()
472 scp->font_width, scp->font_height - cursor_base, in draw_kmscursor()
477 scp->font_width, scp->font_height - cursor_base, in draw_kmscursor()
541 if (x + scp->font_width < scp->font_width * scp->xsize) in draw_kmsmouse()
544 blk_width = scp->font_width * scp->xsize - x; in draw_kmsmouse()
553 x * scp->blk_width / scp->font_width * pixel_size; in draw_kmsmouse()
579 col = x / scp->font_width - scp->xoff; in remove_kmsmouse()
H A Dscvgarndr.c341 x / scp->font_width - scp->xoff; in draw_txtmouse()
359 xoffset = x % scp->font_width; in draw_txtmouse()
405 scp->xsize + x / scp->font_width - scp->xoff; in draw_txtmouse()
470 x = scp->xpixel / scp->font_width - scp->xoff - scp->xsize; in vga_pxlborder_direct()
477 scp->xoff * scp->font_width * pixel_size; in vga_pxlborder_direct()
526 x = scp->xpixel / scp->font_width - scp->xoff - scp->xsize; in vga_pxlborder_packed()
532 draw_end = draw_pos + scp->xoff * scp->font_width; in vga_pxlborder_packed()
577 x = scp->xpixel/scp->font_width - scp->xoff - scp->xsize; in vga_pxlborder_planar()
697 draw_pos += scp->font_width; in vga_vgadraw_packed()
789 draw_pos = VIDEO_MEMORY_POS(scp, at, scp->font_width * pixel_size) + in draw_pxlcursor_direct()
[all …]
H A Dscmouse.c113 x / scp->font_width - scp->xoff; in sc_mouse_move()
122 if (scp->mouse_xpos < scp->xoff * scp->font_width) in set_mouse_pos()
123 scp->mouse_xpos = scp->xoff * scp->font_width; in set_mouse_pos()
133 if (scp->mouse_xpos > (scp->xsize + scp->xoff) * scp->font_width - 1) in set_mouse_pos()
134 scp->mouse_xpos = (scp->xsize + scp->xoff) * scp->font_width - 1; in set_mouse_pos()
144 scp->mouse_xpos / scp->font_width - scp->xoff; in set_mouse_pos()
181 scp->font_width, in sc_remove_mouse_image()
H A Dscvidctl.c154 scp->font_width = 8; in sc_set_text_mode()
235 scp->font_width = 0; in sc_set_graphics_mode()
388 scp->font_width = 8; in sc_set_pixel_mode()
528 vinfo->vi_cwidth = scp->font_width; in sc_vid_ioctl()
H A Dsyscons.c467 while (scp->xpixel / (scp->font_width * nomag) >= COL && in sc_font_scale()
473 cols = scp->xpixel / (scp->font_width * nomag); in sc_font_scale()
475 cols = scp->xpixel / scp->font_width; in sc_font_scale()
480 scp->blk_height = scp->blk_width * scp->font_height / scp->font_width; in sc_font_scale()
3627 scp->font_width = 8; in init_scp()
3648 scp->font_width = 0; in init_scp()
3655 scp->font_width = 8; in init_scp()
H A Dsyscons.h276 int font_width; /* font source X pixels */ member