Function DrawImageQuad

DrawImageQuad(x1, y1, x2, y2, x3, y3, x4, y4, image)
The function draws an image stretched to a 4-sided convex polygon defiled by coordinates (x1, y1), (x2, y2), (x3, y3), (x4, y4). Example:
$Pony = #"pony.png"
DrawImageQuad(100, 100, 300, 100, 300, 300, 100, 200, $Pony)

This is how result would look like (red coordinates are just for reference):

See also: