a hatch's named attribute More...
Public Member Functions | |
StarGAttributeNamedHatch (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 | |
StarGAttributeNamedHatch (StarGAttributeNamedHatch const &orig) | |
copy constructor | |
Protected Attributes | |
int | m_hatchType |
the type | |
STOFFColor | m_color |
the color | |
int | m_distance |
the distance | |
int | m_angle |
the angle |
a hatch's named attribute
StarGraphicAttribute::StarGAttributeNamedHatch::StarGAttributeNamedHatch | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarGraphicAttribute::StarGAttributeNamedHatch::StarGAttributeNamedHatch | ( | StarGAttributeNamedHatch const & | orig | ) | [inline, protected] |
copy constructor
void StarGraphicAttribute::StarGAttributeNamedHatch::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a graphic style
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeNamedHatch::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarGraphicAttribute::StarGAttributeNamedHatch::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
debug function to print the data
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
Referenced by read().
bool StarGraphicAttribute::StarGAttributeNamedHatch::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
int StarGraphicAttribute::StarGAttributeNamedHatch::m_angle [protected] |
the angle
Referenced by addTo(), printData(), and read().
the color
Referenced by addTo(), printData(), and read().
int StarGraphicAttribute::StarGAttributeNamedHatch::m_distance [protected] |
the distance
Referenced by addTo(), printData(), and read().
int StarGraphicAttribute::StarGAttributeNamedHatch::m_hatchType [protected] |
the type
Referenced by addTo(), printData(), and read().