HMWKGraphInternal::BasicGraph Struct Reference

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

Inheritance diagram for HMWKGraphInternal::BasicGraph:
HMWKGraphInternal::Frame

Public Member Functions

 BasicGraph (Frame const &orig)
 constructor
 ~BasicGraph ()
 destructor
std::string print () const
 print local data
- Public Member Functions inherited from HMWKGraphInternal::Frame
 Frame ()
 constructor
virtual ~Frame ()
 destructor
bool getLineColor (MWAWColor &color) const
 returns the line colors
bool getSurfaceColor (MWAWColor &color) const
 returns the surface colors

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 HMWKGraphInternal::Frame
int m_type
 the graph type
long m_fileId
 the file id
int m_id
 the local id
int m_page
 the page
Box2f m_pos
 the position
float m_baseline
 the baseline
int m_posFlags
 the graph anchor flags
Vec2f m_borders [4]
 the border default size (before using width), 0 means Top, other unknown
float m_lineWidth
 the line width
MWAWColor m_colors [2]
 the line/surface colors
float m_patterns [2]
 the line/surface percent pattern
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 HMWKGraph.

Constructor & Destructor Documentation

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

constructor

HMWKGraphInternal::BasicGraph::~BasicGraph ( )
inline

destructor

Member Function Documentation

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

print local data

Friends And Related Function Documentation

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

operator<<

Member Data Documentation

int HMWKGraphInternal::BasicGraph::m_angles[2]

the arc angles in degrees

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

int HMWKGraphInternal::BasicGraph::m_arrowsFlag

the lines arrow flag

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

float HMWKGraphInternal::BasicGraph::m_cornerDim

the rectOval corner dimension

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

Vec2f HMWKGraphInternal::BasicGraph::m_extremity[2]

the two extremities for a line

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

int HMWKGraphInternal::BasicGraph::m_graphType

the graphic type: line, rectangle, ...

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

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

the list of vertices for a polygon

Referenced by print(), and HMWKGraph::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