HMWJGraphInternal::BasicGraph Struct Reference

Internal: the geometrical graph of a HMWJGraph. More...

Inheritance diagram for HMWJGraphInternal::BasicGraph:
HMWJGraphInternal::Frame

Public Member Functions

 BasicGraph (Frame const &orig)
 constructor More...
 
virtual bool valid () const
 returns true if the frame data are read More...
 
std::string print () const
 print local data More...
 
- Public Member Functions inherited from HMWJGraphInternal::Frame
 Frame ()
 constructor More...
 
virtual ~Frame ()
 destructor More...
 

Public Attributes

int m_graphType
 the graphic type: line, rectangle, ... More...
 
int m_arrowsFlag
 the lines arrow flag More...
 
Vec2f m_extremity [2]
 the two extremities for a line More...
 
int m_angles [2]
 the arc angles in degrees More...
 
float m_cornerDim
 the rectOval corner dimension More...
 
std::vector< Vec2fm_listVertices
 the list of vertices for a polygon More...
 
- Public Attributes inherited from HMWJGraphInternal::Frame
int m_type
 the graph type More...
 
long m_fileId
 the file id More...
 
int m_id
 the local id More...
 
int m_formatId
 the format id More...
 
int m_page
 the page More...
 
Box2f m_pos
 the position More...
 
float m_baseline
 the baseline More...
 
int m_posFlags
 the graph anchor flags More...
 
bool m_parsed
 true if we have send the data More...
 
std::string m_extra
 an extra string More...
 

Friends

std::ostream & operator<< (std::ostream &o, BasicGraph const &graph)
 operator<< More...
 

Detailed Description

Internal: the geometrical graph of a HMWJGraph.

Constructor & Destructor Documentation

HMWJGraphInternal::BasicGraph::BasicGraph ( Frame const &  orig)
inline

constructor

Member Function Documentation

std::string HMWJGraphInternal::BasicGraph::print ( ) const
inline

print local data

virtual bool HMWJGraphInternal::BasicGraph::valid ( ) const
inlinevirtual

returns true if the frame data are read

Reimplemented from HMWJGraphInternal::Frame.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
BasicGraph const &  graph 
)
friend

operator<<

Member Data Documentation

int HMWJGraphInternal::BasicGraph::m_angles[2]

the arc angles in degrees

Referenced by BasicGraph(), print(), and HMWJGraph::sendBasicGraph().

int HMWJGraphInternal::BasicGraph::m_arrowsFlag

the lines arrow flag

Referenced by print(), and HMWJGraph::sendBasicGraph().

float HMWJGraphInternal::BasicGraph::m_cornerDim

the rectOval corner dimension

Referenced by print(), and HMWJGraph::sendBasicGraph().

Vec2f HMWJGraphInternal::BasicGraph::m_extremity[2]

the two extremities for a line

Referenced by BasicGraph(), print(), and HMWJGraph::sendBasicGraph().

int HMWJGraphInternal::BasicGraph::m_graphType

the graphic type: line, rectangle, ...

Referenced by print(), HMWJGraph::readGraphData(), and HMWJGraph::sendBasicGraph().

std::vector<Vec2f> HMWJGraphInternal::BasicGraph::m_listVertices

the list of vertices for a polygon

Referenced by print(), HMWJGraph::readGraphData(), and HMWJGraph::sendBasicGraph().


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

Generated on Wed Jun 11 2014 01:31:01 for libmwaw by doxygen 1.8.5