/DragonOS-0.1.9/kernel/src/libs/lib_ui/font/ |
D | mod.rs | 33 bytes_per_char: (size.width + 7) / 8 * size.height, in new() 42 pub const fn height(&self) -> u32 { in height() method 43 self.size.height as u32 in height() 58 pub height: usize, field 62 pub const fn new(width: usize, height: usize) -> Self { in new() 63 Self { width, height } in new() 78 height: data.len() / width / 8, in new()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 139 let font_height = vc_data.font.height as usize; in bit_put_string() 201 vc_data.font.height = font.height; in con_init() 223 vc_data.rows = (fb.current_fb_var().yres / vc_data.font.height) as usize; in con_init() 248 height: usize, in con_clear() 253 if height == 0 || width == 0 { in con_clear() 258 if sy < y_break && sy + height - 1 >= y_break { in con_clear() 272 (height - b) as u32, in con_clear() 280 height as u32, in con_clear() 569 height: u32, in bmove() 574 dy * vc_data.font.height as i32, in bmove() [all …]
|
D | mod.rs | 377 height: u32, in bmove() 393 height: u32, in clear() 468 let mut offset = if vc_data.font.height < 10 { 1 } else { 2 } as usize; in update_attr() 471 let cellsize = (vc_data.font.height * width) as usize; in update_attr()
|
/DragonOS-0.1.9/kernel/src/libs/font/font_type/ |
D | vga8x16.rs | 7 height: 16,
|
D | vga8x8.rs | 8 height: 8,
|
/DragonOS-0.1.9/kernel/src/libs/lib_ui/ |
D | textui_no_alloc.rs | 25 let height = video_refresh_manager().device_buffer().height(); in textui_init_no_alloc() localVariable 27 TRUE_LINE_NUM.store((height / TEXTUI_CHAR_HEIGHT) as i32, Ordering::SeqCst); in textui_init_no_alloc()
|
D | screen_manager.rs | 56 height: u32, // 帧缓冲区高度(pixel或lines) field 98 height: device_buffer_guard.height, in new() 112 height: u32, in new_device_buffer() 120 height, in new_device_buffer() 137 pub fn height(&self) -> u32 { in height() method 138 self.height in height()
|
D | textui.rs | 79 let vlines_num = (metadata.buf_info().height() / TEXTUI_CHAR_HEIGHT) as usize; in textui_framwork_init() 369 pub fn is_frcolor(&self, height: usize, width: usize) -> bool { in is_frcolor() 370 let w = self.0[height]; in is_frcolor() 905 AtomicI32::new((&metadata.buf_info().height() / TEXTUI_CHAR_HEIGHT) as i32); in new()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/ |
D | vesafb.rs | 74 height: None, 409 for y in rect.dy..(rect.dy + rect.height) { in fb_fillrect() 433 || (data.sy + data.height as i32) < 0 in fb_copyarea() 435 || (data.dy + data.height as i32) < 0 in fb_copyarea() 453 (0, (data.height - ((-data.sy) as u32).min(var.yres))) in fb_copyarea() 455 let h = if data.sy as u32 + data.height > var.yres { in fb_copyarea() 458 data.height in fb_copyarea() 476 (0, (data.height - ((-data.dy) as u32).min(var.yres))) in fb_copyarea() 478 let h = if data.dy as u32 + data.height > var.yres { in fb_copyarea() 481 data.height in fb_copyarea() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/tty/ |
D | mod.rs | 35 pub height: u32, field
|
D | console.rs | 28 height: usize, in con_clear()
|
/DragonOS-0.1.9/kernel/src/libs/font/ |
D | mod.rs | 9 pub height: u32, field
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | mod.rs | 167 for _ in (0..image.height).rev() { in fast_imageblit() 502 pub height: u32, field 511 pub fn new(dx: u32, dy: u32, width: u32, height: u32, color: u32, rop: FillRectROP) -> Self { in new() 516 height, in new() 545 pub height: u32, field 554 pub fn new(dx: i32, dy: i32, width: u32, height: u32, sx: i32, sy: i32) -> Self { in new() 559 height, in new() 598 pub height: Option<u32>, field 642 height: None, in default() 1252 pub height: u32, field
|
/DragonOS-0.1.9/kernel/src/driver/multiboot2/ |
D | multiboot2.h | 168 unsigned int height; member
|