a frameSize attribute More...
Public Member Functions | |
| StarGAttributeFrameSize (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 page | |
| virtual void | printData (libstoff::DebugStream &o) const |
| debug function to print the data | |
Protected Member Functions | |
| StarGAttributeFrameSize (StarGAttributeFrameSize const &orig) | |
| copy constructor | |
Protected Attributes | |
| int | m_frmType |
| the type | |
| long | m_width |
| the width | |
| long | m_height |
| the height | |
| STOFFVec2i | m_percent |
| the percent value | |
a frameSize attribute
| StarGraphicAttribute::StarGAttributeFrameSize::StarGAttributeFrameSize | ( | Type | type, |
| std::string const & | debugName | ||
| ) | [inline] |
constructor
Referenced by create().
| StarGraphicAttribute::StarGAttributeFrameSize::StarGAttributeFrameSize | ( | StarGAttributeFrameSize const & | orig | ) | [inline, protected] |
copy constructor
| void StarGraphicAttribute::StarGAttributeFrameSize::addTo | ( | StarState & | state, |
| std::set< StarAttribute const * > & | |||
| ) | const [virtual] |
add to a page
Reimplemented from StarAttribute.
| virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeFrameSize::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
| virtual void StarGraphicAttribute::StarGAttributeFrameSize::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
| bool StarGraphicAttribute::StarGAttributeFrameSize::read | ( | StarZone & | zone, |
| int | vers, | ||
| long | endPos, | ||
| StarObject & | object | ||
| ) | [virtual] |
read a zone
Implements StarAttribute.
int StarGraphicAttribute::StarGAttributeFrameSize::m_frmType [protected] |
the type
Referenced by printData(), and read().
long StarGraphicAttribute::StarGAttributeFrameSize::m_height [protected] |
the height
Referenced by addTo(), printData(), and read().
the percent value
Referenced by printData(), and read().
long StarGraphicAttribute::StarGAttributeFrameSize::m_width [protected] |
the width
Referenced by addTo(), printData(), and read().