std.graphics.Pixmap.Paste - nitrologic/monkey2 GitHub Wiki

std::std.graphics.std.graphics.Pixmap.Paste

Method Paste:Void( pixmap:std:std.graphics.Pixmap,x:monkey:monkey.types.Int,y:monkey:monkey.types.Int )

Paste a pixmap to the pixmap.

In debug builds, a runtime error will occur if the operation would write to pixels outside of the pixmap.

Note: No alpha blending is performed - pixels in the pixmap are simply overwritten.

Parameters
pixmap pixmap The pixmap to paste.
x x The x coordinate.
y y The y coordinate.