Working on grid rendering
This commit is contained in:
parent
e14b3db68a
commit
342d38a9fb
5 changed files with 95 additions and 61 deletions
|
@ -15,7 +15,7 @@ pub use clipboard::ClipboardItem;
|
|||
pub mod fonts;
|
||||
pub mod geometry;
|
||||
mod presenter;
|
||||
mod scene;
|
||||
pub mod scene;
|
||||
pub use scene::{Border, CursorRegion, MouseRegion, MouseRegionId, Quad, Scene};
|
||||
pub mod text_layout;
|
||||
pub use text_layout::TextLayoutCache;
|
||||
|
|
|
@ -81,7 +81,7 @@ pub struct Shadow {
|
|||
pub color: Color,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct Glyph {
|
||||
pub font_id: FontId,
|
||||
pub font_size: f32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue