pass PANEL to draw_geom