maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH 19/22] MultiPageStreetIndexRenderer: remove debu


From: Thomas Petazzoni
Subject: [Maposmatic-dev] [PATCH 19/22] MultiPageStreetIndexRenderer: remove debugging background rectangle
Date: Fri, 30 Mar 2012 13:00:36 +0200

Signed-off-by: Thomas Petazzoni <address@hidden>
---
 ocitysmap2/indexlib/multi_page_renderer.py |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/ocitysmap2/indexlib/multi_page_renderer.py 
b/ocitysmap2/indexlib/multi_page_renderer.py
index b942d29..9348adc 100644
--- a/ocitysmap2/indexlib/multi_page_renderer.py
+++ b/ocitysmap2/indexlib/multi_page_renderer.py
@@ -56,17 +56,6 @@ class MultiPageStreetIndexRenderer:
     def render(self, dpi = UTILS.PT_PER_INCH):
         self.ctx.save()
 
-        # Draw a filled rectangle as the background (to be removed,
-        # only for debugging purposes)
-        self.ctx.save()
-        self.ctx.set_source_rgb(.98,.98,.98)
-        self.ctx.rectangle(UTILS.convert_pt_to_dots(self.rendering_area_x, 
dpi),
-                           UTILS.convert_pt_to_dots(self.rendering_area_y, 
dpi),
-                           self.rendering_area_w,
-                           self.rendering_area_h)
-        self.ctx.fill()
-        self.ctx.restore()
-
         # Create a PangoCairo context for drawing to Cairo
         pc = pangocairo.CairoContext(self.ctx)
 
-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]