Subversion Repositories eFlore/Applications.cel

Rev

Rev 145 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 145 Rev 150
Line 536... Line 536...
536
		doLayout();
536
		doLayout();
537
	}
537
	}
Line 538... Line 538...
538
	
538
	
Line 539... Line -...
539
	public int[] calculerDimensions(int[] tailleXY) {
-
 
540
	    
539
	public int[] calculerDimensions(int[] tailleXY) {
541
		Window.alert("largueur : "+tailleXY[0]+"  longueur : "+tailleXY[1]);
540
	    
542
		float[] tailleXYf = {new Float(tailleXY[0]),new Float(tailleXY[1])} ;
541
		float[] tailleXYf = {new Float(tailleXY[0]),new Float(tailleXY[1])} ;
543
        float tailleOr = Math.min(300,imageConteneur.getWidth()) ;
542
        float tailleOr = Math.min(300,imageConteneur.getWidth()) ;