Previous Up Next

_CPbitmap8
Copy a 8-bits bitmap into another, with a transparency color.

ObjBitmap8 _CPbitmap8 (
ObjBitmap8 _destination_bitmap_
I _dx_
I _dy_
ObjBitmap8 _source_bitmap_
I _sx_
I _sy_
I _width_
I _height_
I _color_
)
Parameters

_destination_bitmap_
any 8-bits bitmap
_dx_
x destination coordinate
_dy_
y destination coordinate
_source_bitmap_
any 8-bits bitmap
_sx_
x source coordinate
_sy_
y source coordinate
_width_
width
_height_
height
_color_
transparency color (palette index)
Return value

destination bitmap