FreeHandParserInternal::Shape Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
FreeHandParserInternal::Shape Struct Reference

small structure of FreeHandParserInternal used to stored a shape More...

## Public Types
enum | Type { Line, Rectangle, Ellipse, Path, BackgroundPicture, Picture, Group, JoinGroup, Unknown }
| the different type More...

## Public Member Functions
| Shape ()
| constructor More...
bool | updateShape (MWAWGraphicShape &shape) const
| try to returns a shape and position More...

## Public Attributes
int | m_id
| the zone id More...
Type | m_type
| the type More...
int | m_layerId
| the layer More...
int | m_lineId
| the line id More...
int | m_fillId
| the fill id More...
MWAWTransformation | m_transformation
| the transformation More...
MWAWBox2f | m_box
| the main box (for line, rectangle, ellipse) More...
MWAWVec2f | m_corner
| the corner size More...
std::vector< MWAWVec2f > | m_vertices
| the list of point for path: 3 Vec2f defining each point More...
bool | m_closed
| a flag to know if a path is closed More...
bool | m_evenOdd
| a flag to know how path intersection are defined More...
float | m_joinDistance
| the join distance More...
std::vector< int > | m_childs
| the list of child (for group and join group ) More...
MWAWEntry | m_picture
| the picture entry More...
int | m_dataId
| the id of a the picture date More...
bool | m_isSent
| flag to known if a shape is sent More...

## Detailed Description

small structure of FreeHandParserInternal used to stored a shape

## Member Enumeration Documentation

enum FreeHandParserInternal::Shape::Type

the different type

Enumerator
Line |
Rectangle |
Ellipse |
Path |
BackgroundPicture |
Picture |
Group |
JoinGroup |
Unknown |

## Constructor & Destructor Documentation

FreeHandParserInternal::Shape::Shape | ( |  | ) |
| inline

constructor

## Member Function Documentation

bool FreeHandParserInternal::Shape::updateShape | ( | MWAWGraphicShape & | shape | ) | const
| inline

try to returns a shape and position

Referenced by FreeHandParser::sendShape().

## Member Data Documentation

MWAWBox2f FreeHandParserInternal::Shape::m_box

the main box (for line, rectangle, ellipse)

Referenced by FreeHandParser::readPictureZone(), FreeHandParser::readShape(), and FreeHandParser::sendPicture().

std::vector<int> FreeHandParserInternal::Shape::m_childs

the list of child (for group and join group )

Referenced by FreeHandParser::readGroupV1(), FreeHandParser::readGroupV2(), FreeHandParser::readJoinGroup(), FreeHandParser::readShape(), FreeHandParser::readTransformGroup(), FreeHandParser::sendGroup(), and FreeHandParserInternal::State::updateGroupLayerId().

bool FreeHandParserInternal::Shape::m_closed

a flag to know if a path is closed

Referenced by FreeHandParser::readShape(), and FreeHandParser::sendShape().

MWAWVec2f FreeHandParserInternal::Shape::m_corner

the corner size

Referenced by FreeHandParser::readShape().

int FreeHandParserInternal::Shape::m_dataId

the id of a the picture date

Referenced by FreeHandParser::readPictureZone(), and FreeHandParser::sendPicture().

bool FreeHandParserInternal::Shape::m_evenOdd

a flag to know how path intersection are defined

Referenced by FreeHandParser::readShape().

int FreeHandParserInternal::Shape::m_fillId

the fill id

Referenced by FreeHandParser::readShape(), and FreeHandParser::sendShape().

int FreeHandParserInternal::Shape::m_id

the zone id

Referenced by FreeHandParser::readGroupV1(), FreeHandParser::readGroupV2(), FreeHandParser::readJoinGroup(), FreeHandParser::readTransformGroup(), and FreeHandParser::sendGroup().

bool FreeHandParserInternal::Shape::m_isSent
| mutable

flag to known if a shape is sent

Referenced by FreeHandParser::sendZone().

float FreeHandParserInternal::Shape::m_joinDistance

the join distance

Referenced by FreeHandParser::readJoinGroup().

int FreeHandParserInternal::Shape::m_layerId

the layer

Referenced by FreeHandParser::readBackgroundPicture(), FreeHandParser::readJoinGroup(), FreeHandParser::readPictureZone(), FreeHandParser::readShape(), FreeHandParser::readTransformGroup(), FreeHandParser::sendGroup(), and FreeHandParserInternal::State::updateGroupLayerId().

int FreeHandParserInternal::Shape::m_lineId

the line id

Referenced by FreeHandParser::readShape(), and FreeHandParser::sendShape().

MWAWEntry FreeHandParserInternal::Shape::m_picture

the picture entry

Referenced by FreeHandParser::readBackgroundPicture(), and FreeHandParser::sendBackgroundPicture().

MWAWTransformation FreeHandParserInternal::Shape::m_transformation

the transformation

Referenced by FreeHandParser::readPictureZone(), FreeHandParser::readShape(), FreeHandParser::readTransformGroup(), FreeHandParser::sendGroup(), FreeHandParser::sendPicture(), and FreeHandParser::sendShape().

Type FreeHandParserInternal::Shape::m_type

the type

Referenced by FreeHandParser::readBackgroundPicture(), FreeHandParser::readGroupV1(), FreeHandParser::readGroupV2(), FreeHandParser::readJoinGroup(), FreeHandParser::readPictureZone(), FreeHandParser::readShape(), FreeHandParser::readTransformGroup(), FreeHandParser::sendShape(), FreeHandParser::sendZone(), and FreeHandParserInternal::State::updateGroupLayerId().

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

the list of point for path: 3 Vec2f defining each point

Referenced by FreeHandParser::readShape().

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

- FreeHandParser.cxx