Public Types | Public Member Functions | Public Attributes | Friends | List of all members
LotusGraphInternal::ZonePc Struct Reference

the graphic zone of a LotusGraph for 123 pc More...

## Public Types
enum | Type { Arc, Chart, Ellipse, FreeHand, Line, Picture, Polygon, Rect, Set, TextBox, Unknown }
| the different type More...

## Public Member Functions
| ZonePc (std::shared_ptr< WPSStream > const &stream)
| constructor More...
bool | getGraphicShape (WPSGraphicShape &shape, WPSPosition &pos) const
| returns a graphic shape corresponding to the main form (and the origin) More...
WPSTransformation | getTransformation () const
| returns a transformation corresponding to the shape More...

## Public Attributes
Type | m_type
| the zone type More...
bool | m_isGroup
| true if the set is a group More...
size_t | m_groupLastPosition
| the group last position More...
int | m_numPoints
| the number of points of a line or a polygon More...
std::vector< Vec2f > | m_vertices
| the list of points for a polygon More...
bool | m_isRoundRect
| true if the rect is a round rect More...
std::shared_ptr< WPSStream > | m_stream
| the stream More...
WPSBox2f | m_box
| the bdbox More...
Vec2f | m_translate
| the translation More...
float | m_rotate
| the rotation More...
int | m_graphicId [2]
| the graphic style id and the shadow style More...
int | m_arrows
| the line arrows More...
WPSEntry | m_textBoxEntry
| the text box entry More...
librevenge::RVNGBinaryData | m_pictureData
| the picture data More...
int | m_pictureHeaderRead
| the number of read byte of the header More...
bool | m_isSent
| a flag to know if the zone has already be sent More...
std::string | m_extra
| extra data More...

## Friends
std::ostream & | operator<< (std::ostream &o, ZonePc const &z)
| operator<< More...

## Detailed Description

the graphic zone of a LotusGraph for 123 pc

## Member Enumeration Documentation

## ◆ Type

enum LotusGraphInternal::ZonePc::Type

the different type

Enumerator
Arc |
Chart |
Ellipse |
FreeHand |
Line |
Picture |
Polygon |
Rect |
Set |
TextBox |
Unknown |

## Constructor & Destructor Documentation

## ◆ ZonePc()

LotusGraphInternal::ZonePc::ZonePc | ( | std::shared_ptr< WPSStream > const & | stream | ) |
| inline explicit

constructor

## Member Function Documentation

## ◆ getGraphicShape()

bool LotusGraphInternal::ZonePc::getGraphicShape | ( | WPSGraphicShape & | shape,
|  | WPSPosition & | pos
| ) |  | const

returns a graphic shape corresponding to the main form (and the origin)

## ◆ getTransformation()

WPSTransformation LotusGraphInternal::ZonePc::getTransformation | ( |  | ) | const
| inline

returns a transformation corresponding to the shape

## Friends And Related Function Documentation

## ◆ operator<<

std::ostream& operator<< | ( | std::ostream & | o,
|  | ZonePc const & | z
| ) |  |
| friend

operator<<

## Member Data Documentation

## ◆ m_arrows

int LotusGraphInternal::ZonePc::m_arrows

the line arrows

## ◆ m_box

WPSBox2f LotusGraphInternal::ZonePc::m_box

the bdbox

Referenced by getGraphicShape(), and getTransformation().

## ◆ m_extra

std::string LotusGraphInternal::ZonePc::m_extra

extra data

## ◆ m_graphicId

int LotusGraphInternal::ZonePc::m_graphicId[2]

the graphic style id and the shadow style

Referenced by ZonePc().

## ◆ m_groupLastPosition

size_t LotusGraphInternal::ZonePc::m_groupLastPosition

the group last position

## ◆ m_isGroup

bool LotusGraphInternal::ZonePc::m_isGroup

true if the set is a group

## ◆ m_isRoundRect

bool LotusGraphInternal::ZonePc::m_isRoundRect

true if the rect is a round rect

Referenced by getGraphicShape().

## ◆ m_isSent

bool LotusGraphInternal::ZonePc::m_isSent
| mutable

a flag to know if the zone has already be sent

## ◆ m_numPoints

int LotusGraphInternal::ZonePc::m_numPoints

the number of points of a line or a polygon

## ◆ m_pictureData

librevenge::RVNGBinaryData LotusGraphInternal::ZonePc::m_pictureData

the picture data

## ◆ m_pictureHeaderRead

int LotusGraphInternal::ZonePc::m_pictureHeaderRead

the number of read byte of the header

## ◆ m_rotate

float LotusGraphInternal::ZonePc::m_rotate

the rotation

Referenced by getTransformation().

## ◆ m_stream

std::shared_ptr<WPSStream> LotusGraphInternal::ZonePc::m_stream

the stream

## ◆ m_textBoxEntry

WPSEntry LotusGraphInternal::ZonePc::m_textBoxEntry

the text box entry

## ◆ m_translate

Vec2f LotusGraphInternal::ZonePc::m_translate

the translation

Referenced by getTransformation().

## ◆ m_type

Type LotusGraphInternal::ZonePc::m_type

the zone type

Referenced by getGraphicShape().

## ◆ m_vertices

std::vector<Vec2f> LotusGraphInternal::ZonePc::m_vertices

the list of points for a polygon

Referenced by getGraphicShape().

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

- LotusGraph.cpp