if (renderer instanceof LineAndShapeRenderer) {
                LineAndShapeRenderer r = (LineAndShapeRenderer) renderer;
                this.drawLines 
                    = BooleanUtilities.valueOf(r.getBaseLinesVisible());
                this.drawShapes 
                    = BooleanUtilities.valueOf(r.getBaseShapesVisible());