fix scaling, refactors

This commit is contained in:
galister
2025-06-26 04:22:40 +09:00
parent fc294e6f9a
commit 1215a50324
7 changed files with 28 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ pub(crate) const DEFAULT_METRICS: Metrics = Metrics::new(
pub struct TextStyle {
pub size: Option<f32>,
pub line_height: Option<f32>,
pub color: Option<drawing::Color>, // TODO: should this be hex?
pub color: Option<drawing::Color>,
pub style: Option<FontStyle>,
pub weight: Option<FontWeight>,
pub align: Option<HorizontalAlign>,