Bitmap.offsetIndexes

Offsets all indexes in the bitmap by a certain value. Keeps zeroth index (usually for transparency) if needed. Useful when converting bitmaps.

class Bitmap(string S, T)
@nogc
static if(S == "B" || S == "HW")
void
offsetIndexes
(
ushort offset
,
bool keepZerothIndex = true
)

Meta