Previous Up Next

_SMINUSbitmap
Perform a saturated MINUS operation between two rectangles of two bitmaps. If the minus operation returns a negative result, this result is forced to 0 (black).

ObjBitmap _SMINUSbitmap (
ObjBitmap _bitmap_
I _dx_
I _dy_
I _width_
I _height_
ObjBitmap _bitmap2_
I _sx_
I _sy_
)
Parameters

_bitmap_
any bitmap
_dx_
x destination coordinate
_dy_
y destination coordinate
_width_
width
_height_
height
_bitmap2_
any bitmap
_sx_
x source coordinate
_sy_
y source coordinate
Return value

destination bitmap