ReadySetGoGraphInternal::Shape Struct Reference

Internal: a shape in a ReadySetGoGraph document. More...

Public Types

enum  Type {
  T_Empty, T_Line, T_Oval, T_Picture,
  T_Polygon, T_Rectangle, T_RectOval, T_Text,
  T_Unknown
}
 the shape type More...
 

Public Member Functions

 Shape (Type type)
 constructor More...
 

Public Attributes

Type m_type
 the shape type More...
 
MWAWBox2f m_box
 the bounding box More...
 
int m_rotate
 the shape rotation: v6 More...
 
MWAWGraphicStyle m_style
 the graphic style More...
 
int m_groupId
 the group id: v6 More...
 
bool m_wrapRoundAround
 the round around wraping flag More...
 
MWAWVec2f m_points [2]
 the line points More...
 
MWAWVec2i m_cornerSize
 the corner size: rectangle oval More...
 
std::vector< MWAWVec2fm_vertices
 the list of vertices : polygon More...
 
int m_textPositions [2]
 the text limits: v4 More...
 
int m_textId
 the text link id More...
 
int m_linkIds [2]
 the text links: prev/next More...
 
MWAWParagraph m_paragraph
 the paragraph style More...
 
bool m_hasPicture
 a flag to know if a picture is empty or not More...
 
MWAWEntry m_entries [3]
 the zone entries: picture or text zones More...
 

Detailed Description

Internal: a shape in a ReadySetGoGraph document.

Member Enumeration Documentation

the shape type

Enumerator
T_Empty 
T_Line 
T_Oval 
T_Picture 
T_Polygon 
T_Rectangle 
T_RectOval 
T_Text 
T_Unknown 

Constructor & Destructor Documentation

ReadySetGoGraphInternal::Shape::Shape ( Type  type)
inlineexplicit

constructor

Member Data Documentation

MWAWVec2i ReadySetGoGraphInternal::Shape::m_cornerSize
MWAWEntry ReadySetGoGraphInternal::Shape::m_entries[3]
int ReadySetGoGraphInternal::Shape::m_groupId
bool ReadySetGoGraphInternal::Shape::m_hasPicture

a flag to know if a picture is empty or not

Referenced by ReadySetGoGraph::readShapeV1(), and ReadySetGoGraph::readShapeV2().

int ReadySetGoGraphInternal::Shape::m_linkIds[2]
MWAWParagraph ReadySetGoGraphInternal::Shape::m_paragraph
MWAWVec2f ReadySetGoGraphInternal::Shape::m_points[2]
int ReadySetGoGraphInternal::Shape::m_rotate
int ReadySetGoGraphInternal::Shape::m_textId
int ReadySetGoGraphInternal::Shape::m_textPositions[2]

the text limits: v4

Referenced by ReadySetGoGraph::sendText(), and Shape().

Type ReadySetGoGraphInternal::Shape::m_type
std::vector<MWAWVec2f> ReadySetGoGraphInternal::Shape::m_vertices

the list of vertices : polygon

Referenced by ReadySetGoGraph::send().

bool ReadySetGoGraphInternal::Shape::m_wrapRoundAround

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

Generated on Thu May 30 2024 13:09:18 for libmwaw by doxygen 1.8.10