This is useful as a way of positioning sprites or icons in an image.
nr_blit(nr, sprite, x, y)
native raster
native raster to copy into nr
Where in nr
to place the sprite
. These values must
be vectors of the same length. If the length is greater than 1, then
the sprite
will be pasted into nr
at multiple locations.
Note that the
origin of nativeraster
images is the bottom-left
where the coordinates are (1, 1).