StarGraphicAttribute::StarGAttributeNamedHatch Class Reference

a hatch's named attribute More...

Inheritance diagram for StarGraphicAttribute::StarGAttributeNamedHatch:
StarGraphicAttribute::StarGAttributeNamed StarAttribute

List of all members.

Public Member Functions

 StarGAttributeNamedHatch (Type type, std::string const &debugName)
 constructor
virtual shared_ptr< StarAttributecreate () 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

Detailed Description

a hatch's named attribute


Constructor & Destructor Documentation

StarGraphicAttribute::StarGAttributeNamedHatch::StarGAttributeNamedHatch ( Type  type,
std::string const &  debugName 
) [inline]

constructor

Referenced by create().


Member Function Documentation

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.

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.


Member Data Documentation

the distance

Referenced by addTo(), printData(), and read().


The documentation for this class was generated from the following file: