a dash's named attribute More...
Public Member Functions | |
| StarGAttributeNamedDash (Type type, std::string const &debugName) | |
| constructor | |
| virtual shared_ptr< StarAttribute > | create () const |
| create a new attribute | |
| virtual bool | read (StarZone &zone, int vers, long endPos, StarObject &object) |
| read a zone | |
| virtual void | addTo (StarState &state, std::set< StarAttribute const * > &) const |
| add to a graphic style | |
| virtual void | printData (libstoff::DebugStream &o) const |
| debug function to print the data | |
Protected Member Functions | |
| StarGAttributeNamedDash (StarGAttributeNamedDash const &orig) | |
| copy constructor | |
Protected Attributes | |
| int | m_dashStyle |
| the style: XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, XDASH_ROUNDRELATIVE | |
| int | m_numbers [2] |
| the number of dot/dash | |
| int | m_lengths [2] |
| the lengths of dot/dash | |
| int | m_distance |
| the distance | |
a dash's named attribute
| StarGraphicAttribute::StarGAttributeNamedDash::StarGAttributeNamedDash | ( | Type | type, |
| std::string const & | debugName | ||
| ) | [inline] |
constructor
Referenced by create().
| StarGraphicAttribute::StarGAttributeNamedDash::StarGAttributeNamedDash | ( | StarGAttributeNamedDash const & | orig | ) | [inline, protected] |
copy constructor
| void StarGraphicAttribute::StarGAttributeNamedDash::addTo | ( | StarState & | state, |
| std::set< StarAttribute const * > & | |||
| ) | const [virtual] |
add to a graphic style
Reimplemented from StarAttribute.
| virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeNamedDash::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
| virtual void StarGraphicAttribute::StarGAttributeNamedDash::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
debug function to print the data
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
Referenced by read().
| bool StarGraphicAttribute::StarGAttributeNamedDash::read | ( | StarZone & | zone, |
| int | vers, | ||
| long | endPos, | ||
| StarObject & | object | ||
| ) | [virtual] |
read a zone
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
int StarGraphicAttribute::StarGAttributeNamedDash::m_dashStyle [protected] |
the style: XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, XDASH_ROUNDRELATIVE
Referenced by printData(), and read().
int StarGraphicAttribute::StarGAttributeNamedDash::m_distance [protected] |
the distance
Referenced by addTo(), printData(), and read().
int StarGraphicAttribute::StarGAttributeNamedDash::m_lengths[2] [protected] |
the lengths of dot/dash
Referenced by addTo(), printData(), read(), and StarGAttributeNamedDash().
int StarGraphicAttribute::StarGAttributeNamedDash::m_numbers[2] [protected] |
the number of dot/dash
Referenced by addTo(), printData(), read(), and StarGAttributeNamedDash().