[librsvg/librsvg-2.44] Remove unused functions
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.44] Remove unused functions
- Date: Fri, 21 Sep 2018 17:38:16 +0000 (UTC)
commit d2464a5a291e4b1d1e919448d54a4d9efe08c349
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Sep 4 13:19:46 2018 -0500
Remove unused functions
rsvg_internals/src/drawing_ctx.rs | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index e0ded7a2..bc76139a 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -191,14 +191,6 @@ impl<'a> DrawingCtx<'a> {
}
}
- pub fn get_dpi(&self) -> (f64, f64) {
- (self.dpi_x, self.dpi_y)
- }
-
- pub fn get_view_box_size(&self) -> (f64, f64) {
- (self.vb.0.width, self.vb.0.height)
- }
-
pub fn push_view_box(&mut self, width: f64, height: f64) {
self.vb_stack.push(self.vb);
self.vb = ViewBox::new(0.0, 0.0, width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]