public void addFigures(int type,int originX,int originY, int width, int height){
		if(type == Drawable.LINE){
			figures.add(new Line(originX, originY, width, height, figures.size(),toolbox.getBordure()));
		}else if(type == Drawable.RECTANGLE){
			figures.add(new Rectangle(originX, originY, width, height, figures.size(),toolbox.getBordure(),toolbox.getInterieur()));
		}else if(type == Drawable.SQUARE){
			figures.add(new Square(originX, originY,width, height, figures.size(),toolbox.getBordure(),toolbox.getInterieur()));
		}else if(type == Drawable.OVAL){
			figures.add(new Oval(originX, originY, width, height, figures.size(),toolbox.getBordure(),toolbox.getInterieur()));
		}else if(type == Drawable.CIRCLE){
			figures.add(new Circle(originX, originY,width, height, figures.size(),toolbox.getBordure(),toolbox.getInterieur()));
		}else if(type>=Drawable.TRI_ISO && type<=Drawable.TRI_ISO){
			figures.add(new Triangle(type, originX, originY, width, height, figures.size(),toolbox.getBordure(),toolbox.getInterieur()));
		}
		if(this.magnifyingLevel !=1){
			figures.get(figures.size()-1).modifyScale(magnifyingLevel);
			figures.get(figures.size()-1).setZoom(magnifyingLevel);
		}
		setChanged();
		notifyObservers();
	}