Initialize area of local memory for usage by areafill, floodfill, gfxtext.
Source position: agraphics.pas line 2371
function InitTmpRas( |
TmpRas: PTmpRas; |
Buffer: PByte; |
Size: LongInt |
):PTmpRas; |
TmpRas |
|
A pointer to a TmpRas structure to be linked into a RastPort |
Buffer |
|
A pointer to a contiguous piece of chip memory. |
Size |
|
Size in bytes of buffer |
Makes buffer available for users of RastPort
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.
The function itself is a bug. Why does this function exist at all? The necessary memory should be allocated in InitRastPort() or the functions that need it.
|
Process table of vectors and ellipses and produce areafill. |
|
|
Flood rastport like areafill. |
|
|
Write text characters (no formatting). |