summaryrefslogtreecommitdiff
path: root/font/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r--font/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs
index 5fb50217..4c4f2653 100644
--- a/font/src/lib.rs
+++ b/font/src/lib.rs
@@ -355,4 +355,7 @@ pub trait Rasterize {
/// Rasterize the glyph described by `GlyphKey`.
fn get_glyph(&mut self, GlyphKey) -> Result<RasterizedGlyph, Self::Err>;
+
+ /// Update the Rasterizer's DPI factor
+ fn update_dpr(&mut self, device_pixel_ratio: f32);
}