InitArea( areainfo, buffer, maxvectors )
void InitArea(
struct AreaInfo *, void *, SHORT);
This function provides initialization for the vector collection matrix such that it has a size of (max vectors ). The size of the region pointed to by buffer (short pointer) should be five (5) times as large as maxvectors. This size is in bytes. Areafills done by using
AreaMove,
AreaDraw, and
AreaEnd must have enough space allocated in this table to store all the points of the largest fill.
AreaEllipse takes up two vectors for every call. If AreaMove/Draw/Ellipse detect too many vectors going into the buffer they will return -1.
Pointers are set up to begin storage of vectors done by
AreaMove,
AreaDraw, and AreaEllipse.