2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: AROS Graphics function CreateRastPort()
9 #include <exec/memory.h>
10 #include <proto/exec.h>
11 #include <proto/graphics.h>
13 /*****************************************************************************
16 #include <graphics/rastport.h>
17 #include <proto/arossupport.h>
19 struct RastPort
*CreateRastPort(
25 This function creates a new RastPort.
31 A pointer to a new RastPort or NULL if there was not enough memory
32 to perform the operation.
45 29-10-95 digulla automatically created from
46 graphics_lib.fd and clib/graphics_protos.h
48 *****************************************************************************/
50 struct RastPort
*newRP
= AllocMem (sizeof (struct RastPort
), MEMF_ANY
);
57 } /* CreateRastPort */