Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 512 | Rev 712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 512 Rev 560
Line 285... Line 285...
285
	public function ajusterFormatSVG(){
285
	public function ajusterFormatSVG(){
286
		$svg = $this->dom->getElementsByTagName("svg")->item(0);
286
		$svg = $this->dom->getElementsByTagName("svg")->item(0);
287
		$largeur = $svg->getAttribute('width');
287
		$largeur = $svg->getAttribute('width');
288
		$hauteur = $svg->getAttribute('height');
288
		$hauteur = $svg->getAttribute('height');
289
		$this->donnerHauteur($largeur , $hauteur);
289
		$this->donnerHauteur($largeur , $hauteur);
290
		$svg->setAttribute('width',$this->largeurSVG.'px');
290
		$svg->setAttribute('width',round($this->largeurSVG).'px');
291
		$svg->setAttribute('height',$this->hauteurSVG.'px');
291
		$svg->setAttribute('height',round($this->hauteurSVG).'px');
Line 292... Line 292...
292
		
292
		
Line 293... Line 293...
293
	}
293
	}
294
	
294