Internal: the generic structure used to store a zone of a CWGraph. More...
Public Types | |
enum | Type { T_Zone, T_Shape, T_Picture, T_Chart, T_DataBox, T_Unknown, T_Line, T_Rect, T_RectOval, T_Oval, T_Arc, T_Poly, T_Pict, T_QTim, T_Movie } |
the list of types More... | |
Public Member Functions | |
Zone () | |
constructor | |
virtual | ~Zone () |
destructor | |
Box2f | getBdBox () const |
return the zone bdbox | |
virtual Type | getType () const |
return the main type | |
virtual Type | getSubType () const |
return the subtype | |
virtual int | getNumData () const |
return the number of data to define this zone in the file | |
virtual void | print (std::ostream &) const |
print the data contains | |
virtual CWStruct::DSET::Child | getChild () const |
return a child corresponding to this zone | |
Public Attributes | |
int | m_page |
the page (checkme: or frame linked ) | |
Box2f | m_box |
the bdbox | |
Style | m_style |
the style | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Zone const &zone) |
operator<< |
Internal: the generic structure used to store a zone of a CWGraph.
CWGraphInternal::Zone::Zone | ( | ) | [inline] |
constructor
virtual CWGraphInternal::Zone::~Zone | ( | ) | [inline, virtual] |
destructor
Box2f CWGraphInternal::Zone::getBdBox | ( | ) | const [inline] |
return the zone bdbox
Referenced by CWGraph::readShape(), CWGraph::sendGroup(), CWGraph::sendShape(), and CWGraph::updateInformation().
virtual CWStruct::DSET::Child CWGraphInternal::Zone::getChild | ( | ) | const [inline, virtual] |
return a child corresponding to this zone
Reimplemented in CWGraphInternal::ZoneUnknown, CWGraphInternal::ZoneZone, CWGraphInternal::ZonePict, and CWGraphInternal::ZoneShape.
virtual int CWGraphInternal::Zone::getNumData | ( | ) | const [inline, virtual] |
return the number of data to define this zone in the file
Reimplemented in CWGraphInternal::ZoneUnknown, CWGraphInternal::ZonePict, and CWGraphInternal::ZoneShape.
virtual Type CWGraphInternal::Zone::getSubType | ( | ) | const [inline, virtual] |
return the subtype
Reimplemented in CWGraphInternal::ZoneUnknown, CWGraphInternal::ZoneZone, CWGraphInternal::ZonePict, and CWGraphInternal::ZoneShape.
virtual Type CWGraphInternal::Zone::getType | ( | ) | const [inline, virtual] |
return the main type
Reimplemented in CWGraphInternal::ZoneUnknown, CWGraphInternal::ZoneZone, CWGraphInternal::ZonePict, and CWGraphInternal::ZoneShape.
Referenced by CWGraph::canSendAsGraphic(), CWGraph::sendGroup(), CWGraph::sendGroupChild(), and CWGraph::updateInformation().
virtual void CWGraphInternal::Zone::print | ( | std::ostream & | ) | const [inline, virtual] |
print the data contains
Reimplemented in CWGraphInternal::ZoneUnknown, CWGraphInternal::ZoneZone, CWGraphInternal::ZonePict, and CWGraphInternal::ZoneShape.
std::ostream& operator<< | ( | std::ostream & | o, |
Zone const & | zone | ||
) | [friend] |
operator<<
the bdbox
Referenced by CWGraph::checkNumberAccrossPages(), getBdBox(), getChild(), CWGraphInternal::ZoneShape::getChild(), CWGraphInternal::ZonePict::getChild(), CWGraphInternal::ZoneZone::getChild(), CWGraphInternal::ZoneUnknown::getChild(), CWGraph::readGroupDef(), CWGraph::readShape(), CWGraph::sendGroup(), CWGraph::sendGroupChild(), CWGraph::sendPicture(), and CWGraph::updateInformation().
the page (checkme: or frame linked )
Referenced by CWGraph::numPages(), CWGraph::sendGroup(), and CWGraph::updateInformation().
the style
Referenced by CWGraph::readGroupDef(), CWGraph::readShape(), CWGraph::sendGroup(), CWGraph::sendGroupChild(), and CWGraph::sendShape().