Internal: small class to store a basic graphic zone of a CWGraph. More...
Public Member Functions | |
ZoneShape (Zone const &z, Type type) | |
constructor | |
virtual void | print (std::ostream &o) const |
print the data | |
virtual Type | getType () const |
return the main type | |
virtual Type | getSubType () const |
return the sub type | |
virtual int | getNumData () const |
return the number of data | |
virtual CWStruct::DSET::Child | getChild () const |
return a child corresponding to this zone | |
Public Attributes | |
Type | m_type |
the sub type | |
MWAWGraphicShape | m_shape |
the shape | |
int | m_rotate |
the rotation |
Internal: small class to store a basic graphic zone of a CWGraph.
CWGraphInternal::ZoneShape::ZoneShape | ( | Zone const & | z, |
Type | type | ||
) | [inline] |
constructor
virtual CWStruct::DSET::Child CWGraphInternal::ZoneShape::getChild | ( | ) | const [inline, virtual] |
return a child corresponding to this zone
Reimplemented from CWGraphInternal::Zone.
virtual int CWGraphInternal::ZoneShape::getNumData | ( | ) | const [inline, virtual] |
return the number of data
Reimplemented from CWGraphInternal::Zone.
virtual Type CWGraphInternal::ZoneShape::getSubType | ( | ) | const [inline, virtual] |
virtual Type CWGraphInternal::ZoneShape::getType | ( | ) | const [inline, virtual] |
return the main type
Reimplemented from CWGraphInternal::Zone.
virtual void CWGraphInternal::ZoneShape::print | ( | std::ostream & | o | ) | const [inline, virtual] |
print the data
Reimplemented from CWGraphInternal::Zone.
the rotation
Referenced by print(), and CWGraph::readShape().
the shape
Referenced by getNumData(), print(), CWGraph::readPolygonData(), CWGraph::readShape(), CWGraph::sendGroup(), and CWGraph::sendShape().
the sub type
Referenced by getSubType().