diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-11-22 03:31:51 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-11-22 21:40:21 -0700 |
| commit | 33a0aea1fa5b12c817cc299b10f8a359d670c645 (patch) | |
| tree | 1f29b867d49a6158edc679c3cc1521a77f1175d7 /src/geometry.rs | |
| parent | efa17e7eb566d81ce821bde459e900d7398a9977 (diff) | |
there are now concepts of font lists and text lines
a "line" is a list of spans much of the layout logic is moved into TextLine, but not yet all of it Change-Id: I2edba34cd9be5a50ac6dc646cd6e2ab2369fca13 Force-Push: yes
Diffstat (limited to 'src/geometry.rs')
| -rw-r--r-- | src/geometry.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/geometry.rs b/src/geometry.rs index 77f7a61..a256bcb 100644 --- a/src/geometry.rs +++ b/src/geometry.rs @@ -5,13 +5,13 @@ use std::ops::{ Add, Sub }; -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Alignment { Left, Right } -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Side { Top, Bottom, Left, Right } -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Corner { TopLeft, TopRight, BottomRight, BottomLeft } impl Side { |