Internal: virtual class to store a Sdr graphic. More...
Public Member Functions | |
| SdrGraphic (int id) | |
| constructor | |
| ~SdrGraphic () | |
| destructor | |
| std::string | getName () const |
| return the object name | |
| void | updateStyle (StarState &state, STOFFListenerPtr) const |
| try to update the graphic style | |
| virtual std::string | print () const |
| basic print function | |
Static Public Member Functions | |
| static shared_ptr< StarItemPool > | getPool (StarObject &object) |
| return a pool corresponding to an object | |
Public Attributes | |
| STOFFBox2i | m_bdbox |
| the bdbox | |
| int | m_layerId |
| the layer id | |
| STOFFVec2i | m_anchorPosition |
| the anchor position | |
| std::vector< GluePoint > | m_polygon |
| a polygon | |
| bool | m_flags [6] |
| a list of flag | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, SdrGraphic const &graph) |
| print object data | |
Internal: virtual class to store a Sdr graphic.
| StarObjectSmallGraphicInternal::SdrGraphic::SdrGraphic | ( | int | id | ) | [inline, explicit] |
constructor
destructor
| std::string StarObjectSmallGraphicInternal::SdrGraphic::getName | ( | ) | const [inline, virtual] |
return the object name
Implements StarObjectSmallGraphicInternal::Graphic.
| static shared_ptr<StarItemPool> StarObjectSmallGraphicInternal::SdrGraphic::getPool | ( | StarObject & | object | ) | [inline, static] |
return a pool corresponding to an object
Referenced by StarObjectSmallGraphicInternal::SdrGraphicRect::send(), StarObjectSmallGraphicInternal::SdrGraphicCaption::send(), StarObjectSmallGraphicInternal::SdrGraphicCircle::send(), StarObjectSmallGraphicInternal::SdrGraphicEdge::send(), StarObjectSmallGraphicInternal::SdrGraphicGraph::send(), StarObjectSmallGraphicInternal::SdrGraphicMeasure::send(), StarObjectSmallGraphicInternal::SdrGraphicOLE::send(), StarObjectSmallGraphicInternal::SdrGraphicPath::send(), and StarObjectSmallGraphicInternal::SdrGraphicText::sendTextZone().
| virtual std::string StarObjectSmallGraphicInternal::SdrGraphic::print | ( | ) | const [inline, virtual] |
basic print function
Reimplemented from StarObjectSmallGraphicInternal::Graphic.
Reimplemented in StarObjectSmallGraphicInternal::SdrGraphicUno, StarObjectSmallGraphicInternal::SdrGraphicPath, StarObjectSmallGraphicInternal::SdrGraphicPage, StarObjectSmallGraphicInternal::SdrGraphicOLE, StarObjectSmallGraphicInternal::SdrGraphicMeasure, StarObjectSmallGraphicInternal::SdrGraphicGraph, StarObjectSmallGraphicInternal::SdrGraphicEdge, StarObjectSmallGraphicInternal::SdrGraphicCircle, StarObjectSmallGraphicInternal::SdrGraphicCaption, StarObjectSmallGraphicInternal::SdrGraphicRect, StarObjectSmallGraphicInternal::SdrGraphicText, StarObjectSmallGraphicInternal::SdrGraphicGroup, and StarObjectSmallGraphicInternal::SdrGraphicAttribute.
| void StarObjectSmallGraphicInternal::SdrGraphic::updateStyle | ( | StarState & | state, |
| STOFFListenerPtr | |||
| ) | const [inline] |
try to update the graphic style
Reimplemented in StarObjectSmallGraphicInternal::SdrGraphicMeasure, StarObjectSmallGraphicInternal::SdrGraphicGraph, StarObjectSmallGraphicInternal::SdrGraphicCircle, and StarObjectSmallGraphicInternal::SdrGraphicAttribute.
| std::ostream& operator<< | ( | std::ostream & | o, |
| SdrGraphic const & | graph | ||
| ) | [friend] |
print object data
the anchor position
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().
a list of flag
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader(), SdrGraphic(), and updateStyle().
the layer id
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().
a polygon
Referenced by StarObjectSmallGraphic::readSVDRObjectHeader().