Apply Transformation to RawText primitives

This commit is contained in:
Héctor Ramón Jiménez 2024-02-02 14:43:04 +01:00
parent a06682ff42
commit b3adf31845
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 21 additions and 19 deletions

View file

@ -29,7 +29,11 @@ pub enum Text<'a> {
/// Some cached text.
Cached(Cached<'a>),
/// Some raw text.
Raw(graphics::text::Raw),
#[allow(missing_docs)]
Raw {
raw: graphics::text::Raw,
transformation: Transformation,
},
}
#[derive(Debug, Clone)]