2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <exec/memory.h>
9 #include <proto/exec.h>
10 #include "graphics_intern.h"
12 /*****************************************************************************
15 #include <graphics/gfx.h>
16 #include <proto/graphics.h>
18 AROS_LH2(PLANEPTR
, AllocRaster
,
21 AROS_LHA(ULONG
, width
, D0
),
22 AROS_LHA(ULONG
, height
, D1
),
25 struct GfxBase
*, GfxBase
, 82, Graphics
)
28 Allocates memory for a single bitplane with the specified size in
32 width, height - The size of the resulting bitplane in pixels.
35 A pointer to the single bitplane.
38 You should not use this function to create BitMaps. Call
39 AllocBitMap() instead.
46 AllocBitMap(), FreeRaster(), FreeBitMap()
52 *****************************************************************************/
56 return AllocMem (RASSIZE(width
,height
),MEMF_CHIP
);