Draw points on a nativeRaster
image
nr_point(nr, x, y, colour = "black", op = 2L)
nativeRaster
image
Integer vectors of point/vertex coordinates
Single colour or character vector of colours the same length
as x
and y
Drawing mode. Default: 2. Possible values: 0, 1, 2
0
Draw the integer value as-is into the nativeRaster. This mode is useful when you are using an indexed palette like many old school games (like AnotherWorld) and do not want the value interpreted as a colour and alpha blended when drawing etc
1
This operation performs
a bitwise logical-or with the current value. This is needed for
rendering in the AnotherWorld
game engine.
2 (default)
Regular colour handing for standard pixel handling