diff options
Diffstat (limited to '')
-rw-r--r-- | graphics/src/backend.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/src/backend.rs b/graphics/src/backend.rs index dd2888ab..0c2a6d30 100644 --- a/graphics/src/backend.rs +++ b/graphics/src/backend.rs @@ -48,6 +48,7 @@ pub trait Text { size: f32, font: Font, bounds: Size, + shaping: text::Shaping, ) -> (f32, f32); /// Tests whether the provided point is within the boundaries of [`Text`] @@ -63,6 +64,7 @@ pub trait Text { size: f32, font: Font, bounds: Size, + shaping: text::Shaping, point: Point, nearest_only: bool, ) -> Option<text::Hit>; |