_BlendSurface2Surface
This function allows to blend a surface on a surface. It accepts a (0-255)
transparency color as well as a transparency factor (0->255) for the rest of the
surface.
Prototype :
fun [ObjSurface I I ObjSurface I I I I I I I] ObjSurface
- ObjSurface : a 3d surface
- I : position x (on 3d surface)
- I : position y (on 3d surface)
- ObjSurface : a source surface
- I : position x (on 3d source surface)
- I : position y (on 3d source surface)
- I : width (on 3d source surface)
- I : height (on 3d source surface)
- 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 :
_BlendBitmap2Surface
Example :