summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 01:55:28 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 01:55:28 +0100
commitbbafeed13d20f2cbd6fc18b949b34596aa0c6c2e (patch)
treecef8698a9ac9386855ea657c8033ed8773820279 /graphics
parent85800c99ab285efd244c0addfdcf3c732a98de1d (diff)
downloadiced-bbafeed13d20f2cbd6fc18b949b34596aa0c6c2e.tar.gz
iced-bbafeed13d20f2cbd6fc18b949b34596aa0c6c2e.tar.bz2
iced-bbafeed13d20f2cbd6fc18b949b34596aa0c6c2e.zip
Fix outdated warning in docs of `Frame::fill_text`
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/geometry/frame.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/graphics/src/geometry/frame.rs b/graphics/src/geometry/frame.rs
index 37e0df38..b54fca5d 100644
--- a/graphics/src/geometry/frame.rs
+++ b/graphics/src/geometry/frame.rs
@@ -69,16 +69,9 @@ where
/// Draws the characters of the given [`Text`] on the [`Frame`], filling
/// them with the given color.
///
- /// __Warning:__ Text currently does not work well with rotations and scale
- /// transforms! The position will be correctly transformed, but the
- /// resulting glyphs will not be rotated or scaled properly.
- ///
- /// Additionally, all text will be rendered on top of all the layers of
+ /// __Warning:__ All text will be rendered on top of all the layers of
/// a `Canvas`. Therefore, it is currently only meant to be used for
/// overlays, which is the most common use case.
- ///
- /// Support for vectorial text is planned, and should address all these
- /// limitations.
pub fn fill_text(&mut self, text: impl Into<Text>) {
self.raw.fill_text(text);
}