CWGraphInternal::ZoneShape Struct Reference

Internal: small class to store a basic graphic zone of a CWGraph. More...

Inheritance diagram for CWGraphInternal::ZoneShape:
CWGraphInternal::Zone

Public Member Functions

 ZoneShape (Zone const &z, Type type)
 constructor More...
 
virtual void print (std::ostream &o) const
 print the data More...
 
virtual Type getType () const
 return the main type More...
 
virtual Type getSubType () const
 return the sub type More...
 
virtual int getNumData () const
 return the number of data More...
 
virtual CWStruct::DSET::Child getChild () const
 return a child corresponding to this zone More...
 
- Public Member Functions inherited from CWGraphInternal::Zone
 Zone ()
 constructor More...
 
virtual ~Zone ()
 destructor More...
 
Box2f getBdBox () const
 return the zone bdbox More...
 

Public Attributes

Type m_type
 the sub type More...
 
MWAWGraphicShape m_shape
 the shape More...
 
int m_rotate
 the rotation More...
 
- Public Attributes inherited from CWGraphInternal::Zone
int m_page
 the page (checkme: or frame linked ) More...
 
Box2f m_box
 the bdbox More...
 
Style m_style
 the style More...
 

Additional Inherited Members

- Public Types inherited from CWGraphInternal::Zone
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...
 

Detailed Description

Internal: small class to store a basic graphic zone of a CWGraph.

Constructor & Destructor Documentation

CWGraphInternal::ZoneShape::ZoneShape ( Zone const &  z,
Type  type 
)
inline

constructor

Member Function Documentation

virtual CWStruct::DSET::Child CWGraphInternal::ZoneShape::getChild ( ) const
inlinevirtual

return a child corresponding to this zone

Reimplemented from CWGraphInternal::Zone.

virtual int CWGraphInternal::ZoneShape::getNumData ( ) const
inlinevirtual

return the number of data

Reimplemented from CWGraphInternal::Zone.

virtual Type CWGraphInternal::ZoneShape::getSubType ( ) const
inlinevirtual

return the sub type

Reimplemented from CWGraphInternal::Zone.

Referenced by CWGraph::readShape().

virtual Type CWGraphInternal::ZoneShape::getType ( ) const
inlinevirtual

return the main type

Reimplemented from CWGraphInternal::Zone.

virtual void CWGraphInternal::ZoneShape::print ( std::ostream &  o) const
inlinevirtual

print the data

Reimplemented from CWGraphInternal::Zone.

Member Data Documentation

int CWGraphInternal::ZoneShape::m_rotate

the rotation

Referenced by print(), and CWGraph::readShape().

Type CWGraphInternal::ZoneShape::m_type

the sub type

Referenced by getSubType().


The documentation for this struct was generated from the following file:

Generated on Tue Mar 10 2015 17:32:10 for libmwaw by doxygen 1.8.5