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

FreeRaster

Release an allocated area to the system free memory pool

Declaration

Source position: agraphics.pas line 2063

procedure FreeRaster(

  P: PByte;

  Width: LongWord;

  Height: LongWord

);

Arguments

P

  

a pointer to a memory space returned as a result of a call to AllocRaster().

Width

  

The width in bits of the bitplane.

Height

  

Number of rows in bitplane.

Description

Return the memory associated with this PlanePtr of size width and height to the exec.MEMF_CHIP memory pool.

See also

AllocRaster

  

Allocate space for a bitplane.

AllocBitmap

  

Allocate a bitmap and attach bitplanes to it.

FreeBitmap

  

Free a bitmap created by AllocBitMap()


Documentation generated on: 2021-07-30