Copyright (c) 2000 California Institute of Technology
All rights reserved. See the file COPYRIGHT for a full description.
$Id: BoundDrawContext.m3.html,v 1.3 2010-04-29 17:18:11 wagner Exp $
MODULE BoundDrawContext;
IMPORT DrawContextClass;
IMPORT Line;
IMPORT LinoText;
REVEAL
T = Public BRANDED "BoundDrawContext" OBJECT
OVERRIDES
gLine := GLine;
gText := GText;
END;
PROCEDURE GLine(self: T; l: Line.T) =
BEGIN self.gBox(Line.GetBoundRect(l)); END GLine;
PROCEDURE GText(self: T; t: LinoText.T) =
BEGIN self.gBox(self.textBounder.bound(t)); END GText;
BEGIN
END BoundDrawContext.