summaryrefslogtreecommitdiffstats
path: root/graphics/src/backend.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-06-26 19:17:34 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-26 19:17:34 +0200
commitef18ecf4ef0fe654578380059b467fe2fb34aa0a (patch)
tree13f6de49d8f33ce7f4056bd36fb5e1a6e3aa8e12 /graphics/src/backend.rs
parent75bd55c1f025df33bd9552a6d573ab10826e0050 (diff)
parentef87ff1e8ab24279a551b3eef6bacd8813712530 (diff)
downloadiced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.tar.gz
iced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.tar.bz2
iced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.zip
Merge pull request #1921 from iced-rs/subpixel-glyph-positioning
Subpixel glyph positioning and layout linearity
Diffstat (limited to '')
-rw-r--r--graphics/src/backend.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/graphics/src/backend.rs b/graphics/src/backend.rs
index ae89da06..6a082576 100644
--- a/graphics/src/backend.rs
+++ b/graphics/src/backend.rs
@@ -6,18 +6,6 @@ use iced_core::{Font, Point, Size};
use std::borrow::Cow;
-/// The graphics backend of a [`Renderer`].
-///
-/// [`Renderer`]: crate::Renderer
-pub trait Backend {
- /// Trims the measurements cache.
- ///
- /// This method is currently necessary to properly trim the text cache in
- /// `iced_wgpu` and `iced_glow` because of limitations in the text rendering
- /// pipeline. It will be removed in the future.
- fn trim_measurements(&mut self) {}
-}
-
/// A graphics backend that supports text rendering.
pub trait Text {
/// The icon font of the backend.