[librsvg] Remove unused functions



commit 62097afe0db4a3a8effc3f790ee79598ee479ab8
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 2bc1c162..1f9e82c2 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]