Previous Up Next

_Surface2Surface
Copies a zone of the '_source_' surface to the '_destination_' surface.
The position in 'destination' is ('_destX_', '_destX_'). The zone copied from '_source_' is of size ('_width_', '_height_') and is positioned at ('_srcX_', '_srcY_').

ObjSurface _Surface2Surface (
ObjSurface _destination_
I _destX_
I _destY_
ObjSurface _source_
I _srcX_
I _srcY_
I _width_
I _height_
I _transpColor_
)
Parameters

_destination_
Rendering surface (destination)
_destX_
Horizontal position on surface
_destY_
Vertical position on surface
_source_
Surface to be blitted (source)
_srcX_
Horizontal position on surface
_srcY_
Vertical position on surface
_width_
Horizontal size
_height_
Vertical size
_transpColor_
Transparency color
Return value

Rendering surface if successful, otherwise nil