Docs » Autodocs » graphics.library » InitTmpRas
InitTmpRas -- Initialize area of local memory for usage by areafill, floodfill, text.
InitTmpRas(tmpras, buffer, size) a0 a1 d0 void InitTmpRas( struct TmpRas *, void *, ULONG );
The area of memory pointed to by buffer is set up to be used by RastPort routines that may need to get some memory for intermediate operations in preparation to putting the graphics into the final BitMap. Tmpras is used to control the usage of buffer.
tmpras - pointer to a TmpRas structure to be linked into a RastPort buffer - pointer to a contiguous piece of chip memory. size - size in bytes of buffer
makes buffer available for users of RastPort
Would be nice if RastPorts could share one TmpRas.
AreaEnd(), Flood(), Text(), <graphics/rastport.h>
|