Previous | Up | Next |
Copies a zone of the surface in the bitmap.Parameters
The position on the bitmap is (xdest,ydest). The zone copied on the surface is of size (width, height) and is positioned per (xsrc,ysrc).
ObjBitmap _Surface2Bitmap ( ObjBitmap _bitmap_ I _destX_ I _destY_ ObjSurface _surface_ I _srcX_ I _srcY_ I _width_ I _height_ I _transpColor_ )
Return value
_bitmap_ Image _destX_ Horizontal position in image _destY_ Vertical position in image _surface_ Surface to be blitted in the image _srcX_ Horizontal position on surface _srcY_ Vertical position on surface _width_ Horizontal size _height_ Vertical size _transpColor_ Transparency color
Image obtained if successful, otherwise nil