Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

InitTmpRas

Initialize area of local memory for usage by areafill, floodfill, gfxtext.

Declaration

Source position: agraphics.pas line 2120

function InitTmpRas(

  TmpRas: PTmpRas;

  Buffer: Pointer;

  Size: LongWord

):PTmpRas;

Arguments

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

Function result

Makes buffer available for users of RastPort

Description

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.

Errors

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.

See also

AreaEnd

  

Process table of vectors and ellipses and produce areafill.

Flood

  

Flood rastport like areafill.

GfxText

  

Write text characters (no formatting).


Documentation generated on: 2021-07-30