a bitmap of bool to store black-white bitmap More...
#include <MWAWPictBitmap.hxx>
Public Member Functions | |
| virtual SubType | getSubType () const |
| returns the picture subtype | |
| virtual int | cmp (MWAWPict const &a) const |
| a virtual function used to obtain a strict order, must be redefined in the subs class | |
| virtual bool | valid () const |
| returns true if the picture is valid | |
| MWAWPictBitmapBW (MWAWVec2i const &sz) | |
| the constructor | |
| MWAWVec2i const & | size () const |
| the picture size | |
| int | numRows () const |
| the number of rows | |
| int | numColumns () const |
| the number of columns | |
| bool | get (int i, int j) const |
| returns a cell content | |
| bool const * | getRow (int j) const |
| returns the cells content of a row | |
| void | set (int i, int j, bool v) |
| sets a cell contents | |
| void | setRow (int j, bool const *val) |
| sets all cell contents of a row | |
| void | setRowPacked (int j, unsigned char const *val) |
| sets all cell contents of a row given packed m_data | |
| void | setColumn (int i, bool const *val) |
| sets all cell contents of a column | |
Protected Member Functions | |
| virtual bool | createFileData (librevenge::RVNGBinaryData &result) const |
| function which creates the result file | |
Protected Attributes | |
| MWAWPictBitmapContainerBool | m_data |
| the data | |
a bitmap of bool to store black-white bitmap
| MWAWPictBitmapBW::MWAWPictBitmapBW | ( | MWAWVec2i const & | sz | ) | [inline] |
the constructor
| virtual int MWAWPictBitmapBW::cmp | ( | MWAWPict const & | a | ) | const [inline, virtual] |
a virtual function used to obtain a strict order, must be redefined in the subs class
Reimplemented from MWAWPictBitmap.
| bool MWAWPictBitmapBW::createFileData | ( | librevenge::RVNGBinaryData & | result | ) | const [protected, virtual] |
function which creates the result file
Implements MWAWPictBitmap.
| bool MWAWPictBitmapBW::get | ( | int | i, |
| int | j | ||
| ) | const [inline] |
returns a cell content
| bool const* MWAWPictBitmapBW::getRow | ( | int | j | ) | const [inline] |
returns the cells content of a row
| virtual SubType MWAWPictBitmapBW::getSubType | ( | ) | const [inline, virtual] |
returns the picture subtype
Implements MWAWPictBitmap.
| int MWAWPictBitmapBW::numColumns | ( | ) | const [inline] |
the number of columns
| int MWAWPictBitmapBW::numRows | ( | ) | const [inline] |
the number of rows
| void MWAWPictBitmapBW::set | ( | int | i, |
| int | j, | ||
| bool | v | ||
| ) | [inline] |
sets a cell contents
| void MWAWPictBitmapBW::setColumn | ( | int | i, |
| bool const * | val | ||
| ) | [inline] |
sets all cell contents of a column
| void MWAWPictBitmapBW::setRow | ( | int | j, |
| bool const * | val | ||
| ) | [inline] |
sets all cell contents of a row
| void MWAWPictBitmapBW::setRowPacked | ( | int | j, |
| unsigned char const * | val | ||
| ) | [inline] |
sets all cell contents of a row given packed m_data
Referenced by RagTimeParser::sendBitmap().
| MWAWVec2i const& MWAWPictBitmapBW::size | ( | ) | const [inline] |
the picture size
| virtual bool MWAWPictBitmapBW::valid | ( | ) | const [inline, virtual] |
returns true if the picture is valid
Reimplemented from MWAWPictBitmap.
MWAWPictBitmapContainerBool MWAWPictBitmapBW::m_data [protected] |
the data
Referenced by cmp(), createFileData(), get(), getRow(), numColumns(), numRows(), set(), setColumn(), setRow(), setRowPacked(), size(), and valid().