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
 

Public Attributes

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

Detailed Description

Internal: a shape in a ReadySetGoGraph document.

Member Enumeration Documentation

◆ Type

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

◆ Shape()

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

constructor

Member Data Documentation

◆ m_box

◆ m_cornerSize

MWAWVec2i ReadySetGoGraphInternal::Shape::m_cornerSize

◆ m_entries

◆ m_groupId

int ReadySetGoGraphInternal::Shape::m_groupId

◆ m_hasPicture

bool ReadySetGoGraphInternal::Shape::m_hasPicture

a flag to know if a picture is empty or not

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

◆ m_linkIds

int ReadySetGoGraphInternal::Shape::m_linkIds[2]

◆ m_paragraph

MWAWParagraph ReadySetGoGraphInternal::Shape::m_paragraph

◆ m_points

MWAWVec2f ReadySetGoGraphInternal::Shape::m_points[2]

◆ m_rotate

int ReadySetGoGraphInternal::Shape::m_rotate

◆ m_style

◆ m_textId

int ReadySetGoGraphInternal::Shape::m_textId

◆ m_textPositions

int ReadySetGoGraphInternal::Shape::m_textPositions[2]

◆ m_type

Type ReadySetGoGraphInternal::Shape::m_type

◆ m_vertices

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

◆ m_wrapRoundAround

bool ReadySetGoGraphInternal::Shape::m_wrapRoundAround

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

Generated on Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6