Render lines into a RGBWT bitmap.
4-column matrix with point coordinates. Each row contains X and Y coordinates of line start and X and Y coordinates of line end, in this order.
2-element vector of rendered area limits (position of the first pixel on the
left/top, and the last pixel on the right/bottom).
You can flip the image coordinate system by flipping the *lim
vectors.
2-element vector size of the result raster, defaults to c(512L,512L)
.
Vector of 4 elements with integral RGBA color for the lines, defaults to c(0,0,0,255)
.
TRUE if the start pixel of the lines should be omitted, defaults to FALSE
.
TRUE if the end pixel of a line should be omitted, defaults to TRUE
.
(When plotting long ribbons of connected lines, this prevents counting the connecting pixels twice.)
Lines plotted in RGBWT bitmap.