|
SubType | getSubType () const final |
| return the picture subtype
|
|
int | cmp (MWAWPict const &a) const final |
| a virtual function used to obtain a strict order, must be redefined in the subs class
|
|
bool | valid () const final |
| returns true if the picture is valid
|
|
MWAWColor | getAverageColor () const final |
| returns the average color
|
|
| MWAWPictBitmapIndexed (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
|
|
int | get (int i, int j) const |
| returns a cell content
|
|
int const * | getRow (int j) const |
| returns the cells content of a row
|
|
void | set (int i, int j, int v) |
| sets a cell contents
|
|
template<class U > |
void | setRow (int j, U const *val) |
| sets all cell contents of a row
|
|
template<class U > |
void | setColumn (int i, U const *val) |
| sets all cell contents of a column
|
|
std::vector< MWAWColor > const & | getColors () const |
| returns the array of indexed colors
|
|
void | setColors (std::vector< MWAWColor > const &cols) |
| sets the array of indexed colors
|
|
| ~MWAWPictBitmap () override |
| destructor
|
|
Type | getType () const override |
| returns the picture type
|
|
virtual SubType | getSubType () const =0 |
| returns the picture subtype
|
|
bool | getBinary (MWAWEmbeddedObject &picture) const override |
| returns the final picture
|
|
virtual bool | valid () const |
| returns true if the picture is valid
|
|
virtual MWAWColor | getAverageColor () const =0 |
| returns the average color
|
|
int | cmp (MWAWPict const &a) const override |
| a virtual function used to obtain a strict order, must be redefined in the subs class
|
|
virtual | ~MWAWPict () |
| virtual destructor
|
|
virtual Type | getType () const =0 |
| returns the picture type
|
|
MWAWBox2f | getBdBox () const |
| returns the bdbox of the picture
|
|
void | setBdBox (MWAWBox2f const &box) |
| sets the bdbox of the picture
|
|
virtual bool | getBinary (MWAWEmbeddedObject &) const |
| tries to convert the picture in a binary data :
|
|
virtual int | cmp (MWAWPict const &a) const |
| a virtual function used to obtain a strict order, must be redefined in the subs class
|
|
|
bool | createFileData (librevenge::RVNGBinaryData &result) const final |
| the function which creates the result file
|
|
virtual bool | createFileData (librevenge::RVNGBinaryData &result) const =0 |
| abstract function which creates the result file
|
|
| MWAWPictBitmap (MWAWVec2i 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
|
|
|
enum | SubType { BW
, Indexed
, Color
} |
| the picture subtype: blackwhite, indexed, color More...
|
|
enum | Type { PictData
, Bitmap
, Unknown
} |
| the different picture types: More...
|
|
enum | ReadResult { MWAW_R_BAD =0
, MWAW_R_OK
, MWAW_R_OK_EMPTY
, MWAW_R_MAYBE
} |
| an enum to defined the result of a parsing use by some picture's classes which can read their data More...
|
|
static MWAWBox2f | getBdBox (int numPt, MWAWVec2f const *pt) |
| computes the minimum and maximum of a list of point
|
|
a bitmap of int to store indexed bitmap