drawcontext/src/RegionDrawContext.i3


 Copyright (c) 2000 California Institute of Technology 
 All rights reserved. See the file COPYRIGHT for a full description. 
 $Id: RegionDrawContext.i3.html,v 1.3 2010-04-29 17:18:11 wagner Exp $ 

INTERFACE RegionDrawContext;
produces region bounding drawn lines and text
IMPORT BoundDrawContext;
IMPORT Region;
IMPORT TextBounder;
TYPE
  T <: Public;
  Public = BoundDrawContext.T OBJECT
  METHODS
    init(textBounder: TextBounder.T): T;
    (* resets accumulated region,
       and sets textBounder for bounding LinoText.T's. *)

    toRegion(): Region.T;
  END;
END RegionDrawContext.