diff options
Diffstat (limited to 'svgbob/src/buffer/cell_buffer/cell/cell_grid.rs')
-rw-r--r-- | svgbob/src/buffer/cell_buffer/cell/cell_grid.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svgbob/src/buffer/cell_buffer/cell/cell_grid.rs b/svgbob/src/buffer/cell_buffer/cell/cell_grid.rs index 6f07406..0e6f25a 100644 --- a/svgbob/src/buffer/cell_buffer/cell/cell_grid.rs +++ b/svgbob/src/buffer/cell_buffer/cell/cell_grid.rs @@ -152,11 +152,15 @@ impl CellGrid { Self::point(4, 8) } + //TODO: use proper aspect ratio for width + //and height based on the text rendering #[inline] pub fn width() -> f32 { 1.0 } + //TODO: use proper aspect ratio for width + //and height based on the text rendering #[inline] pub fn height() -> f32 { 2.0 |