Internal: the shape of a CanvasGraph. More...
Public Member Functions | |
Shape () | |
constructor More... | |
std::string | getTypeName () const |
returns the type name More... | |
int | getSpecialId () const |
try to return the special type More... | |
Public Attributes | |
int | m_type |
the shape type More... | |
MWAWBox2f | m_box |
the bounding box More... | |
int | m_rotation |
the transformed child rotation More... | |
MWAWVec2f | m_penSize |
the pen size More... | |
int | m_mode |
the copy mode (8: copy, 9: xor) More... | |
int | m_patterns [2] |
the line, surface pattern More... | |
int | m_dash |
the line dash More... | |
std::vector< float > | m_dashWidth |
the dash array: a sequence of (fullsize, emptysize) v3.5 More... | |
int | m_hatchGradChild |
the hatch or gradient child More... | |
int | m_values [2] |
the values More... | |
MWAWColor | m_colors [2] |
the color More... | |
std::vector< MWAWVec2f > | m_points |
the points: line, ... More... | |
int | m_child |
the main child (all) More... | |
int | m_origChild |
the child before the transformation More... | |
std::vector< int > | m_childs |
the childs (group 99) More... | |
int | m_align |
the text alignment: 0:left, 1:center, ... More... | |
int | m_bitmapType |
the bitmap type More... | |
MWAWGraphicStyle::Arrow | m_arrow |
the line/arc arrow More... | |
std::string | m_specialType |
the special type More... | |
MWAWEntry | m_entry |
the data zone More... | |
bool | m_sent |
a flag to know if the shape is already send More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Shape const &s) |
operator<< More... | |
Internal: the shape of a CanvasGraph.
|
inline |
constructor
|
inline |
try to return the special type
Referenced by CanvasGraph::readShapeData(), CanvasGraph::send(), and CanvasGraph::sendSpecial().
|
inline |
returns the type name
Referenced by CanvasGraph::readShapeData(), CanvasGraph::sendDimension(), and CanvasGraph::sendMultiLines().
|
friend |
operator<<
int CanvasGraphInternal::Shape::m_align |
the text alignment: 0:left, 1:center, ...
Referenced by CanvasGraph::readShape(), and CanvasGraph::sendText().
MWAWGraphicStyle::Arrow CanvasGraphInternal::Shape::m_arrow |
the line/arc arrow
Referenced by CanvasGraph::readShapeData(), and CanvasGraph::update().
int CanvasGraphInternal::Shape::m_bitmapType |
the bitmap type
Referenced by CanvasGraph::getBitmap(), CanvasGraph::getBitmapBW(), and CanvasGraph::readShape().
MWAWBox2f CanvasGraphInternal::Shape::m_box |
the bounding box
Referenced by CanvasGraph::getBitmap(), CanvasGraph::getBitmapBW(), CanvasGraph::readShape(), CanvasGraph::send(), CanvasGraph::sendDimension(), CanvasGraph::sendMultiLines(), and CanvasGraph::sendSpecial().
int CanvasGraphInternal::Shape::m_child |
the main child (all)
Referenced by CanvasGraph::readShape(), and CanvasGraph::send().
std::vector<int> CanvasGraphInternal::Shape::m_childs |
the childs (group 99)
Referenced by CanvasGraph::readShapeData(), CanvasGraph::send(), and CanvasGraph::sendSpecial().
MWAWColor CanvasGraphInternal::Shape::m_colors[2] |
the color
Referenced by CanvasGraph::getBitmapBW(), CanvasGraph::readShape(), and CanvasGraph::update().
int CanvasGraphInternal::Shape::m_dash |
the line dash
Referenced by CanvasGraph::readShape(), and CanvasGraph::update().
std::vector<float> CanvasGraphInternal::Shape::m_dashWidth |
the dash array: a sequence of (fullsize, emptysize) v3.5
Referenced by CanvasGraph::readShapeData(), and CanvasGraph::update().
MWAWEntry CanvasGraphInternal::Shape::m_entry |
the data zone
Referenced by CanvasGraph::getBitmap(), CanvasGraph::getBitmapBW(), CanvasGraph::getPicture(), CanvasGraph::readShape(), CanvasGraph::readShapeData(), CanvasGraph::send(), CanvasGraph::sendDimension(), CanvasGraph::sendMultiLines(), CanvasGraph::sendSpecial(), and CanvasGraph::sendText().
int CanvasGraphInternal::Shape::m_hatchGradChild |
the hatch or gradient child
Referenced by CanvasGraph::readShape(), and CanvasGraph::send().
int CanvasGraphInternal::Shape::m_mode |
the copy mode (8: copy, 9: xor)
Referenced by CanvasGraph::readShape().
int CanvasGraphInternal::Shape::m_origChild |
the child before the transformation
Referenced by CanvasGraph::readShape(), and CanvasGraph::send().
int CanvasGraphInternal::Shape::m_patterns[2] |
the line, surface pattern
Referenced by CanvasGraph::readShape(), and CanvasGraph::update().
MWAWVec2f CanvasGraphInternal::Shape::m_penSize |
the pen size
Referenced by CanvasGraph::readShape(), and CanvasGraph::update().
std::vector<MWAWVec2f> CanvasGraphInternal::Shape::m_points |
the points: line, ...
Referenced by CanvasGraph::readShapeData(), CanvasGraph::send(), and CanvasGraph::sendSpecial().
int CanvasGraphInternal::Shape::m_rotation |
the transformed child rotation
Referenced by CanvasGraph::readShape(), and CanvasGraph::send().
|
mutable |
a flag to know if the shape is already send
Referenced by CanvasGraph::send().
std::string CanvasGraphInternal::Shape::m_specialType |
the special type
Referenced by getSpecialId(), getTypeName(), and CanvasGraph::readShape().
int CanvasGraphInternal::Shape::m_type |
the shape type
Referenced by getTypeName(), CanvasGraph::readShape(), CanvasGraph::readShapeData(), CanvasGraph::send(), CanvasGraph::sendText(), and CanvasGraph::update().
int CanvasGraphInternal::Shape::m_values[2] |
the values
Referenced by CanvasGraph::getBitmap(), CanvasGraph::readShape(), CanvasGraph::send(), CanvasGraph::sendSpecial(), and CanvasGraph::update().