Up |
_BlendBitmap2Surface
This function allows to blend a bitmap on a surface. It accepts a (0-255) transparency color as well as a transparency factor (0->255) for the rest of the bitmap.
Prototype :
fun [ObjSurface I I ObjBitmap I I I I I I I] ObjSurface
- ObjSurface : a 3d surface
- I : position x (on 3d surface)
- I : position y (on 3d surface)
- ObjBitmap : a source bitmap
- I : position x (on bitmap)
- I : position y (on bitmap)
- I : width (on bitmap)
- I : height (on bitmap)
- I : color if nil, alpha
- I : transparency color (24 bits)
- I : transparency factor (on color)
Return : ObjSurface the same 3d surface object or nil if error.
See also :
Example :