persist(visible); /******************************************************************** * Graphics state */ void gset() { super.gset(); setcolor(FG); setfont(textfont); } /******************************************************************** * Painting */ void Paint() { clippath(); setcolor(BG); fill(); rectpath(insetstroke(0,[0,0,w,h])); setcolor(FG); stroke(); } /******************************************************************** * action and previewing */ void action() { Send Action(); } void Preview() { } void preview() { Send Preview(); }