Project

General

Profile

Previous Up Next

_MAPbitmap
Map a rectangle (x1,y1)-(x2,y2) from _bitmapB_ in the _bitmapA_ convex polygone (x1,y1)-(x2,y2)-(x3,y3)-(x4,y4).

ObjBitmap _MAPbitmap (
ObjBitmap _bitmapA_
I _x1_
I _y1_
I _x2_
I _y2_
I _x3_
I _y3_
I _x4_
I _y4_
ObjBitmap _bitmapB_
I _sx1_
I _sy1_
I _sx2_
I _sy2_
I _color_
)
Parameters

_bitmapA_
any bitmap
_x1_
x1 coordinate
_y1_
y1 coordinate
_x2_
x2 coordinate
_y2_
y2 coordinate
_x3_
x3 coordinate
_y3_
y3 coordinate
_x4_
x4 coordinate
_y4_
y4 coordinate
_bitmapB_
any bitmap
_sx1_
sx1 coordinate
_sy1_
sy1 coordinate
_sx2_
sx2 coordinate
_sy2_
sy2 coordinate
_color_
transparency color (24 bits)
Return value

same bitmapA