88#ifndef dirac_utilities_bitmap
89#define dirac_utilities_bitmap
109 return 4*((3*
w + 3)/4); }
112 return header.
putTo(stream); }
115 return header.
getFrom(stream); }
117 std::ostream&
putTo(std::ostream& output)
const;
int w
Definition: bitmap.h:119
int width() const
Definition: bitmap.h:99
friend std::istream & operator>>(std::istream &stream, BitmapHeader &header)
Definition: bitmap.h:113
int height() const
Definition: bitmap.h:103
BitmapHeader(int x, int y)
Definition: bitmap.h:98
friend std::ostream & operator<<(std::ostream &stream, const BitmapHeader &header)
Definition: bitmap.h:110
void height(int y)
Definition: bitmap.h:105
int lineBufferSize() const
Definition: bitmap.h:108
int h
Definition: bitmap.h:120
BitmapHeader()
Definition: bitmap.h:97
void width(int x)
Definition: bitmap.h:101
std::istream & getFrom(std::istream &input)
std::ostream & putTo(std::ostream &output) const