(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void InitArea (areainfo , buffer , maxvectors)

LOCATION
In GfxBase at offset 47

SYNOPSIS
struct AreaInfo * areainfo
void * buffer
WORD maxvectors

FUNCTION
This function initilizes an areainfo structure. The size of the passed pointer to the buffer should be 5 times as large as maxvectors (in bytes).

INPUTS
areainfo
pointer to AreaInfo strcuture to be initilized
buffer
pointer to free memory to collect vectors
maxvectors
maximum number of vectors the buffer can hold.

RESULT
Areainfo structure initilized such that it will hold the vectors created by AreaMove, AreaDraw and AreaEllipse (AreaCircle).

EXAMPLE

SEE ALSO
AreaDraw() AreaMove() AreaEllipse() AreaCircle() graphics/rastport.h

NOTES

BUGS

INTERNALS

HISTORY