Internal: virtual class to store a Sdr graphic circle. More...
Public Member Functions | |
SdrGraphicCircle (int id) | |
constructor | |
~SdrGraphicCircle () | |
destructor | |
virtual std::string | print () const |
basic print function | |
bool | send (STOFFListenerPtr listener, STOFFPosition const &pos, StarObject &object, bool) |
try to send the graphic to the listener | |
void | updateStyle (StarState &state, STOFFListenerPtr listener) const |
try to update the style | |
Public Attributes | |
float | m_angles [2] |
the two angles | |
shared_ptr< StarItem > | m_circleItem |
the circle attributes | |
Friends | |
std::ostream & | operator<< (std::ostream &o, SdrGraphicCircle const &graph) |
print object data |
Internal: virtual class to store a Sdr graphic circle.
StarObjectSmallGraphicInternal::SdrGraphicCircle::SdrGraphicCircle | ( | int | id | ) | [inline, explicit] |
constructor
virtual std::string StarObjectSmallGraphicInternal::SdrGraphicCircle::print | ( | ) | const [inline, virtual] |
basic print function
Reimplemented from StarObjectSmallGraphicInternal::SdrGraphicRect.
bool StarObjectSmallGraphicInternal::SdrGraphicCircle::send | ( | STOFFListenerPtr | listener, |
STOFFPosition const & | pos, | ||
StarObject & | object, | ||
bool | |||
) | [inline, virtual] |
try to send the graphic to the listener
Reimplemented from StarObjectSmallGraphicInternal::SdrGraphicRect.
void StarObjectSmallGraphicInternal::SdrGraphicCircle::updateStyle | ( | StarState & | state, |
STOFFListenerPtr | listener | ||
) | const [inline] |
try to update the style
Reimplemented from StarObjectSmallGraphicInternal::SdrGraphicAttribute.
Referenced by send().
std::ostream& operator<< | ( | std::ostream & | o, |
SdrGraphicCircle const & | graph | ||
) | [friend] |
print object data
the two angles
Referenced by StarObjectSmallGraphic::readSVDRObjectCircle(), SdrGraphicCircle(), and send().
the circle attributes
Referenced by StarObjectSmallGraphic::readSVDRObjectCircle(), and updateStyle().