Project

General

Profile

Previous Up Next

_CPbitmap
Copy a 8-bits bitmap into a normal bitmap, with a transparency color.

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

_destination_bitmap_
any 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