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 (Vec2i const &sz) |
| | the constructor
|
| Vec2i 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
|
| virtual Type | getType () const |
| | returns the picture type
|
| virtual bool | getBinary (WPXBinaryData &res, std::string &s) const |
| | returns the final WPXBinary data
|
| virtual | ~MWAWPict () |
| | virtual destructor
|
| Box2f | getBdBox () const |
| | returns the bdbox of the picture
|
| void | setBdBox (Box2f const &box) |
| | sets the bdbox of the picture
|
Protected Member Functions |
| virtual bool | createFileData (WPXBinaryData &result) const |
| | function which creates the result file
|
| | MWAWPictBitmap (Vec2i const &sz) |
| | protected constructor: use check to construct a picture
|
| void | extendBDBox (float val) |
| | udaptes the bdbox, by extended it by (val-previousVal)
|
| | MWAWPict () |
| | protected constructor must not be called directly
|
| | MWAWPict (MWAWPict const &p) |
| | protected constructor must not be called directly
|
| MWAWPict & | operator= (MWAWPict const &p) |
| | protected operator= must not be called directly
|
Detailed Description
a bitmap of bool to store black-white bitmap
Constructor & Destructor Documentation
| MWAWPictBitmapBW::MWAWPictBitmapBW |
( |
Vec2i const & |
sz | ) |
|
|
inline |
Member Function Documentation
| virtual int MWAWPictBitmapBW::cmp |
( |
MWAWPict const & |
a | ) |
const |
|
inlinevirtual |
a virtual function used to obtain a strict order,
must be redefined in the subs class
Reimplemented from MWAWPictBitmap.
| bool MWAWPictBitmapBW::createFileData |
( |
WPXBinaryData & |
result | ) |
const |
|
protectedvirtual |
| bool MWAWPictBitmapBW::get |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
|
inline |
| bool const* MWAWPictBitmapBW::getRow |
( |
int |
j | ) |
const |
|
inline |
returns the cells content of a row
| virtual SubType MWAWPictBitmapBW::getSubType |
( |
| ) |
const |
|
inlinevirtual |
| int MWAWPictBitmapBW::numColumns |
( |
| ) |
const |
|
inline |
| int MWAWPictBitmapBW::numRows |
( |
| ) |
const |
|
inline |
| void MWAWPictBitmapBW::set |
( |
int |
i, |
|
|
int |
j, |
|
|
bool |
v |
|
) |
| |
|
inline |
| 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
| Vec2i const& MWAWPictBitmapBW::size |
( |
| ) |
const |
|
inline |
| virtual bool MWAWPictBitmapBW::valid |
( |
| ) |
const |
|
inlinevirtual |
returns true if the picture is valid
Reimplemented from MWAWPictBitmap.
Member Data Documentation
the data
Referenced by cmp(), createFileData(), get(), getRow(), numColumns(), numRows(), set(), setColumn(), setRow(), setRowPacked(), size(), and valid().
The documentation for this class was generated from the following files: