CricketDrawParserInternal::Shape Struct Reference

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

## Public Types
enum | Type { Basic , Grate , Group , GroupEnd , Picture , StarBurst , Textbox , Unknown }
| the different shape type More...

## Public Member Functions
| Shape ()
| constructor
MWAWTransformation | getTransformation (MWAWTransformation const &transform) const
| returns the current transformation

## Public Attributes
int | m_id
| the shape id
Type | m_type
| the shape type
long | m_ids [2]
| the ids
MWAWGraphicShape | m_shape
| the shape
MWAWBox2f | m_box [2]
| the main box (before translation and after translation)
MWAWVec2f | m_translation
| the translation
float | m_rotation
| the rotation angle
float | m_shear
| the shear angle
bool | m_flip [2]
| two bool to indicated we need to flip the shape or not
MWAWGraphicStyle | m_style
| the style
std::vector< MWAWVec2f > | m_vertices
| the list of point
bool | m_closed
| flag to know if the shape is closed
bool | m_locked
| flag to know if the shape is locked
bool | m_smoothed
| flag to know if the shape is smoothed
MWAWVec2f | m_corners
| the rectOval corner size
MWAWVec2i | m_angles
| the arc limits
int | m_grateN
| the grate number
int | m_grateType
| the grate type
int | m_starBustAngles [3]
| the starbust angle: min, max, delta
long | m_groupIds [2]
| some unknown group id
MWAWEntry | m_text
| the text entry
MWAWParagraph | m_paragraph
| the paragraph style
MWAWColor | m_textColor
| the text color
MWAWEntry | m_bitmap
| the bitmap entry
MWAWBox2i | m_bitmapDimension
| the bitmap dimension
int | m_bitmapRowSize
| the bitmap row size
int | m_bitmapScale
| the bitmap scaling
bool | m_isSent
| flag to know if a shape is already sent

## Detailed Description

small structure of CricketDrawParserInternal used to stored a shape

## Member Enumeration Documentation

## ◆ Type

enum CricketDrawParserInternal::Shape::Type

the different shape type

Enumerator
Basic |
Grate |
Group |
GroupEnd |
Picture |
StarBurst |
Textbox |
Unknown |

## Constructor & Destructor Documentation

## ◆ Shape()

CricketDrawParserInternal::Shape::Shape | ( |  | ) |
| inline

constructor

## Member Function Documentation

## ◆ getTransformation()

MWAWTransformation CricketDrawParserInternal::Shape::getTransformation | ( | MWAWTransformation const & | transform | ) | const
| inline

returns the current transformation

Referenced by CricketDrawParser::send(), and CricketDrawParser::sendBitmap().

## Member Data Documentation

## ◆ m_angles

MWAWVec2i CricketDrawParserInternal::Shape::m_angles

the arc limits

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_bitmap

MWAWEntry CricketDrawParserInternal::Shape::m_bitmap

the bitmap entry

Referenced by CricketDrawParser::readShape(), CricketDrawParser::sendBitmap(), and Shape().

## ◆ m_bitmapDimension

MWAWBox2i CricketDrawParserInternal::Shape::m_bitmapDimension

the bitmap dimension

Referenced by CricketDrawParser::readShape(), CricketDrawParser::sendBitmap(), and Shape().

## ◆ m_bitmapRowSize

int CricketDrawParserInternal::Shape::m_bitmapRowSize

the bitmap row size

Referenced by CricketDrawParser::readShape(), CricketDrawParser::sendBitmap(), and Shape().

## ◆ m_bitmapScale

int CricketDrawParserInternal::Shape::m_bitmapScale

the bitmap scaling

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_box

MWAWBox2f CricketDrawParserInternal::Shape::m_box[2]

the main box (before translation and after translation)

Referenced by getTransformation(), CricketDrawParser::readShape(), CricketDrawParser::send(), and CricketDrawParser::sendBitmap().

## ◆ m_closed

bool CricketDrawParserInternal::Shape::m_closed

flag to know if the shape is closed

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_corners

MWAWVec2f CricketDrawParserInternal::Shape::m_corners

the rectOval corner size

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_flip

bool CricketDrawParserInternal::Shape::m_flip[2]

two bool to indicated we need to flip the shape or not

Referenced by getTransformation(), CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_grateN

int CricketDrawParserInternal::Shape::m_grateN

the grate number

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_grateType

int CricketDrawParserInternal::Shape::m_grateType

the grate type

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_groupIds

long CricketDrawParserInternal::Shape::m_groupIds[2]

some unknown group id

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_id

int CricketDrawParserInternal::Shape::m_id

the shape id

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), CricketDrawParser::sendBitmap(), and Shape().

## ◆ m_ids

long CricketDrawParserInternal::Shape::m_ids[2]

the ids

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_isSent

bool CricketDrawParserInternal::Shape::m_isSent
| mutable

flag to know if a shape is already sent

Referenced by CricketDrawParser::send(), and Shape().

## ◆ m_locked

bool CricketDrawParserInternal::Shape::m_locked

flag to know if the shape is locked

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_paragraph

MWAWParagraph CricketDrawParserInternal::Shape::m_paragraph

the paragraph style

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_rotation

float CricketDrawParserInternal::Shape::m_rotation

the rotation angle

Referenced by getTransformation(), CricketDrawParser::readShape(), and Shape().

## ◆ m_shape

MWAWGraphicShape CricketDrawParserInternal::Shape::m_shape

the shape

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_shear

float CricketDrawParserInternal::Shape::m_shear

the shear angle

Referenced by getTransformation(), CricketDrawParser::readShape(), and Shape().

## ◆ m_smoothed

bool CricketDrawParserInternal::Shape::m_smoothed

flag to know if the shape is smoothed

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_starBustAngles

int CricketDrawParserInternal::Shape::m_starBustAngles[3]

the starbust angle: min, max, delta

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_style

MWAWGraphicStyle CricketDrawParserInternal::Shape::m_style

the style

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_text

MWAWEntry CricketDrawParserInternal::Shape::m_text

the text entry

Referenced by CricketDrawParser::readShape(), and Shape().

## ◆ m_textColor

MWAWColor CricketDrawParserInternal::Shape::m_textColor

the text color

Referenced by CricketDrawParser::readShape(), CricketDrawParser::sendBitmap(), and Shape().

## ◆ m_translation

MWAWVec2f CricketDrawParserInternal::Shape::m_translation

the translation

Referenced by getTransformation(), CricketDrawParser::readShape(), and Shape().

## ◆ m_type

Type CricketDrawParserInternal::Shape::m_type

the shape type

Referenced by CricketDrawParser::readShape(), CricketDrawParser::send(), and Shape().

## ◆ m_vertices

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

the list of point

Referenced by CricketDrawParser::readShape(), and Shape().

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

- CricketDrawParser.cxx