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
virtual bool valid () const
 returns true if the frame data are read
std::string print () const
 print local data
- Public Member Functions inherited from HMWJGraphInternal::Frame
 Frame ()
 constructor
virtual ~Frame ()
 destructor

Public Attributes

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

Friends

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

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 May 22 2013 18:12:47 for libmwaw by doxygen 1.8.1.2