1Graph : module { 2 PATH : con "/dis/acme/graph.dis"; 3 4 init : fn(mods : ref Dat->Mods); 5 6 balloc : fn(r : Draw->Rect, c : Draw->Chans, col : int) : ref Draw->Image; 7 draw : fn(d : ref Draw->Image, r : Draw->Rect, s : ref Draw->Image, m : ref Draw->Image, p : Draw->Point); 8 stringx : fn(d : ref Draw->Image, p : Draw->Point, f : ref Draw->Font, s : string, c : ref Draw->Image); 9 cursorset: fn(p : Draw->Point); 10 cursorswitch : fn(c : ref Dat->Cursor); 11 charwidth : fn(f : ref Draw->Font, c : int) : int; 12 strwidth : fn(f : ref Draw->Font, p : string) : int; 13 binit : fn(); 14 bflush : fn(); 15 berror : fn(s : string); 16 17 font : ref Draw->Font; 18};