summaryrefslogtreecommitdiffstats
path: root/graphics/src/backend.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/backend.rs')
-rw-r--r--graphics/src/backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/backend.rs b/graphics/src/backend.rs
index 6a082576..70ccc664 100644
--- a/graphics/src/backend.rs
+++ b/graphics/src/backend.rs
@@ -38,7 +38,7 @@ pub trait Text {
font: Font,
bounds: Size,
shaping: text::Shaping,
- ) -> (f32, f32);
+ ) -> Size;
/// Tests whether the provided point is within the boundaries of [`Text`]
/// laid out with the given parameters, returning information about