Previous Up Next

_SCPbitmap8
Stretch the rectangle (sx1,sy1)-(sx2,sy2) from _source_bitmap_ into rectangle (dx1,dy1)-(dx2,dy2) of _destination_bitmap_

ObjBitmap8 _SCPbitmap8 (
ObjBitmap8 _destination_bitmap_
I _dx1_
I _dy1_
I _dx2_
I _dy2_
ObjBitmap8 _source_bitmap_
I _sx1_
I _sy1_
I _sx2_
I _sy2_
I _color_
)
Parameters

_destination_bitmap_
any 8-bits bitmap
_dx1_
dx1 coordinate
_dy1_
dy1 coordinate
_dx2_
dx2 coordinate
_dy2_
dy2 coordinate
_source_bitmap_
any 8-bits bitmap
_sx1_
sx1 coordinate
_sy1_
sy1 coordinate
_sx2_
sx2 coordinate
_sy2_
sy2 coordinate
_color_
transparency color (24 bits)
Return value

destination bitmap