Implement Widget::draw for Text

This commit is contained in:
Héctor Ramón Jiménez 2021-10-14 16:59:19 +07:00
parent 03b3493138
commit 3a0c503db9
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
11 changed files with 128 additions and 32 deletions

View file

@ -16,7 +16,6 @@ pub trait Backend {
fn trim_measurements(&mut self) {}
}
/// A graphics backend that supports text rendering.
pub trait Text {
/// The icon font of the backend.
const ICON_FONT: Font;