imageRowOffset method

int imageRowOffset(
  1. int row
)

Starting offset of Bitmap image for row row (zero-based)

Implementation

int imageRowOffset(int row) {
  // row: base 0
  return 54 + ((height - row - 1) * _bytesPerRow);
}