static ScanlineBitMatrix toScanlineBitMatrix(BitMatrix m) { if (m == null) null; if (m cast ScanlineBitMatrix) ret m; ret new ScanlineBitMatrix(m); }