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