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

CloneRastPort

This function creates a copy of a RastPort.

Declaration

Source position: agraphics.pas line 2221

function CloneRastPort(

  Rp: PRastPort

):PRastPort;

Arguments

Rp

  

The RastPort to clone.

Function result

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

See also

FreeRastPort

  

This frees a RastPort obtained with CloneRastPort() or CreateRastPort().


Documentation generated on: 2021-07-30