a shape More...
Public Types | |
| enum | Type { Circle , Line , Group , Polygon , Rectangle , Triangle , Unknown } |
| the differents type More... | |
Public Member Functions | |
| Shape () | |
| constructor | |
| bool | updateShapeAndPos (WPSGraphicShape &shape, WPSPosition &pos, WPSTransformation const &transf) const |
| try to get the final shape and the final position | |
Public Attributes | |
| Type | m_type |
| the shape type | |
| Vec2i | m_origin |
| the local origin and the size of the bdbox | |
| Vec2i | m_size |
| WPSGraphicStyle | m_style |
| the graphic style | |
| std::vector< Vec2i > | m_vertices |
| the line and triangle vertices | |
| std::vector< int > | m_children |
| the child | |
a shape
|
inline |
constructor
|
inline |
try to get the final shape and the final position
Referenced by PocketWordParser::sendShape().
| std::vector<int> PocketWordParserInternal::Shape::m_children |
the child
Referenced by PocketWordParser::readShape(), PocketWordParser::sendShape(), and Shape().
| Vec2i PocketWordParserInternal::Shape::m_origin |
the local origin and the size of the bdbox
Referenced by PocketWordParser::readShape(), PocketWordParser::sendShape(), Shape(), and updateShapeAndPos().
| Vec2i PocketWordParserInternal::Shape::m_size |
Referenced by PocketWordParser::readShape(), Shape(), and updateShapeAndPos().
| WPSGraphicStyle PocketWordParserInternal::Shape::m_style |
the graphic style
Referenced by PocketWordParser::readShape(), PocketWordParser::sendShape(), Shape(), and updateShapeAndPos().
| Type PocketWordParserInternal::Shape::m_type |
the shape type
Referenced by PocketWordParser::readShape(), PocketWordParser::sendShape(), Shape(), and updateShapeAndPos().
| std::vector<Vec2i> PocketWordParserInternal::Shape::m_vertices |
the line and triangle vertices
Referenced by PocketWordParser::readShape(), Shape(), and updateShapeAndPos().