modified on Fri Mar 3 20:53:46 PST 1989 by msm
<*PRAGMA LL*>A
Batch.T
is a data structure containing a sequence of
VBT
painting commands. Batches are untraced: they must be
explicitly allocated and freed using the procedures in
this interface.
INTERFACEBatch ; TYPE T <: ADDRESS; PROCEDURE New(len: INTEGER := -1): T;
Allocate a batch containing at leastlen
Word.Ts
.
If
len = -1
, the number of Word.T
s in the result will be
VBTTuning.BatchSize
. Initially the clip and scroll source are
Rect.Empty
.
PROCEDURE Free(VAR ba: T);
Returnba
to the free list and setba := NIL
.
Free(ba)
is a checked runtime error if ba
is NIL
.
END Batch.