Internal and low level: class used to read/store a picture region. More...
Public Member Functions | |
Region () | |
bool | read (MWAWInputStream &input) |
tries to read the data | |
Protected Attributes | |
Box2i | m_box |
the bounding box | |
std::vector< Vec2i > | m_points |
the set of points which defines the mask | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Region const &f) |
operator << for a Region |
Internal and low level: class used to read/store a picture region.
A region is formed by bounding box followed by an array of bits which indicate which defines a mask
libmwaw_applepict1::Region::Region | ( | ) | [inline] |
bool libmwaw_applepict1::Region::read | ( | MWAWInputStream & | input | ) | [inline] |
tries to read the data
Box2i libmwaw_applepict1::Region::m_box [protected] |
the bounding box
Referenced by read().
std::vector<Vec2i> libmwaw_applepict1::Region::m_points [protected] |
the set of points which defines the mask
Referenced by read().