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;
118 std::istream&
getFrom(std::istream& input);
125 #endif // dirac_utilities_bitmap int w
Definition: bitmap.h:119
BitmapHeader()
Definition: bitmap.h:97
friend std::ostream & operator<<(std::ostream &stream, const BitmapHeader &header)
Definition: bitmap.h:110
std::ostream & putTo(std::ostream &output) const
void width(int x)
Definition: bitmap.h:101
int lineBufferSize() const
Definition: bitmap.h:108
int width() const
Definition: bitmap.h:99
friend std::istream & operator>>(std::istream &stream, BitmapHeader &header)
Definition: bitmap.h:113
void height(int y)
Definition: bitmap.h:105
int h
Definition: bitmap.h:120
int height() const
Definition: bitmap.h:103
BitmapHeader(int x, int y)
Definition: bitmap.h:98
std::istream & getFrom(std::istream &input)