diff options
author | 2024-02-02 14:43:04 +0100 | |
---|---|---|
committer | 2024-02-02 14:43:04 +0100 | |
commit | b3adf3184594c9bf60e0548a0362d30c512f3966 (patch) | |
tree | e99e7a55873678ac37fd695a0f46c1350b30dd2f /wgpu/src/layer | |
parent | a06682ff420678f7068265191738ab70ebe30b4c (diff) | |
download | iced-b3adf3184594c9bf60e0548a0362d30c512f3966.tar.gz iced-b3adf3184594c9bf60e0548a0362d30c512f3966.tar.bz2 iced-b3adf3184594c9bf60e0548a0362d30c512f3966.zip |
Apply `Transformation` to `RawText` primitives
Diffstat (limited to 'wgpu/src/layer')
-rw-r--r-- | wgpu/src/layer/text.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wgpu/src/layer/text.rs b/wgpu/src/layer/text.rs index 4c2b66a4..b3a00130 100644 --- a/wgpu/src/layer/text.rs +++ b/wgpu/src/layer/text.rs @@ -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)] |