(C) 1998 AROS - The Amiga Research OS


NAME
#include <graphics/rastport.h>
#include <proto/graphics.h>

struct RastPort * CloneRastPort (rp)

LOCATION
In GfxBase at offset 178

SYNOPSIS
struct RastPort * rp

FUNCTION
This function creates a copy of a RastPort.

INPUTS
rp
The RastPort to clone.

RESULT
A pointer to a RastPort with the same attributes as the RastPort which was specified or NULL if there was not enough memory to perform the operation.

EXAMPLE

SEE ALSO
CreateRastPort(), FreeRastPort()

NOTES
This function is AROS specific. For compatibility, there is a function in aros.lib which does the same on Amiga.

BUGS

INTERNALS

HISTORY