Bitmap.testLineCollision

Tests a single line of pixels between two 1 bit bitmaps for collision, using a single chunk of pixels. (Unimplemented, is a placeholder as of now) * line: The (first) line, which is being tested in the current object. * other: The other object that this is being tested against. * otherLine: The (first) line, which is being tested in the other object. * offset: The horizontal offset of the other object to the right. If negative, then it's being offsetted to the left. * nOfLines: The number of lines to be tested. Must be non-zero, otherwise the test won't run.

class Bitmap(string S, T)
final @safe @nogc nothrow pure const
static if(!(S != "HB" && S != "QB" && S != "b"))
static if(!(S == "HB"))
static if(S == "b")
bool
testLineCollision
(
int line
,,,
const int offset
,
uint nOfLines = 1
)

Meta