[Mapbender-commits] r8668 - branches/2.7/http/print/classes trunk/mapbender/http/print/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jul 10 00:23:13 PDT 2013
Author: verenadiewald
Date: 2013-07-10 00:23:13 -0700 (Wed, 10 Jul 2013)
New Revision: 8668
Modified:
branches/2.7/http/print/classes/mbMeasureDecorator.php
trunk/mapbender/http/print/classes/mbMeasureDecorator.php
Log:
change order of functions: first do ClippingRect, then SetDrawColor
Modified: branches/2.7/http/print/classes/mbMeasureDecorator.php
===================================================================
--- branches/2.7/http/print/classes/mbMeasureDecorator.php 2013-07-01 18:28:26 UTC (rev 8667)
+++ branches/2.7/http/print/classes/mbMeasureDecorator.php 2013-07-10 07:23:13 UTC (rev 8668)
@@ -65,8 +65,8 @@
$style .= "D";
}
if($style != "") {
+ $this->pdf->objPdf->ClippingRect($mapOffset_left, $mapOffset_bottom, $map_width, $map_height, true);
$this->pdf->objPdf->SetDrawColor($this->conf->stroke_color->r, $this->conf->stroke_color->g, $this->conf->stroke_color->b);
- $this->pdf->objPdf->ClippingRect($mapOffset_left, $mapOffset_bottom, $map_width, $map_height, true);
if ($isClosed) {
$this->pdf->objPdf->Polygon($thePolyArr, $style, array("all" => get_object_vars($this->conf->line_style)), $this->conf->fill_color);
}
Modified: trunk/mapbender/http/print/classes/mbMeasureDecorator.php
===================================================================
--- trunk/mapbender/http/print/classes/mbMeasureDecorator.php 2013-07-01 18:28:26 UTC (rev 8667)
+++ trunk/mapbender/http/print/classes/mbMeasureDecorator.php 2013-07-10 07:23:13 UTC (rev 8668)
@@ -65,8 +65,8 @@
$style .= "D";
}
if($style != "") {
+ $this->pdf->objPdf->ClippingRect($mapOffset_left, $mapOffset_bottom, $map_width, $map_height, true);
$this->pdf->objPdf->SetDrawColor($this->conf->stroke_color->r, $this->conf->stroke_color->g, $this->conf->stroke_color->b);
- $this->pdf->objPdf->ClippingRect($mapOffset_left, $mapOffset_bottom, $map_width, $map_height, true);
if ($isClosed) {
$this->pdf->objPdf->Polygon($thePolyArr, $style, array("all" => get_object_vars($this->conf->line_style)), $this->conf->fill_color);
}
More information about the Mapbender_commits
mailing list