From 33a0aea1fa5b12c817cc299b10f8a359d670c645 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sun, 22 Nov 2026 03:31:51 -0700 Subject: 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 --- src/geometry.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/geometry.rs') 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 { -- cgit 1.4.1