a bool container with a function to put packed row More...
#include <MWAWPictBitmap.hxx>
Public Member Functions | |
MWAWPictBitmapContainerBool (MWAWVec2i const &sz) | |
constructor | |
~MWAWPictBitmapContainerBool () final | |
destructor | |
int | cmp (MWAWPictBitmapContainerBool const &orig) const |
a comparison operator | |
void | setRowPacked (int j, unsigned char const *val, unsigned char const *end) |
allows to use packed m_data | |
![]() | |
MWAWPictBitmapContainer (MWAWVec2i const &sz) | |
constructor given size | |
virtual | ~MWAWPictBitmapContainer () |
destructor | |
bool | ok () const |
returns ok, if the m_data is allocated | |
int | cmp (MWAWPictBitmapContainer< bool > const &orig) const |
a comparison operator | |
MWAWVec2i const & | size () const |
return the array size | |
int | numRows () const |
gets the number of row | |
int | numColumns () const |
gets the number of column | |
bool const & | get (int i, int j) const |
accessor of a cell m_data | |
bool const * | getRow (int j) const |
accessor of a row m_data | |
void | set (int i, int j, bool const &v) |
sets a cell m_data | |
void | setRow (int j, U const *val) |
sets a line of m_data | |
void | setColumn (int i, U const *val) |
sets a column of m_data | |
Additional Inherited Members | |
![]() | |
MWAWVec2i | m_size |
the size | |
bool * | m_data |
the m_data placed by row ie. d_00, d_10, ... , d_{X-1}0, .. | |
a bool container with a function to put packed row
|
inlineexplicit |
constructor
|
final |
destructor
|
inline |
a comparison operator
Referenced by MWAWPictBitmapBW::cmp(), and MWAWPictBitmapIndexed::cmp().
|
inline |
allows to use packed m_data
Referenced by MWAWPictBitmapBW::setRowPacked().