class SugRectElement

The subclass of SugElement responsible for representing SVGRect

Inheritance:


Public Methods

[more] SugRectElement ()
The class constructor
[more]SugRealType getHeight ()
Returns the height variable
[more]SugRealType getRx ()
Returns the rx variable, unused
[more]SugRealType getRy ()
Returns the ry variable, unused
[more]SugRealType getWidth ()
Returns the width variable
[more]SugRealType getX ()
Returns the x variable
[more]SugRealType getY ()
Returns the y variable
[more]SugRealType setHeight (SugRealType newHeight)
Sets the height variable
[more]SugRealType setRx (SugRealType newRx)
Sets the rx variable, unused
[more]SugRealType setRy (SugRealType newRy)
Sets the ry variable, unused
[more]SugRealType setWidth (SugRealType newWidth)
Sets the width variable
[more]SugRealType setX (SugRealType newX)
Sets the x variable
[more]SugRealType setY (SugRealType newY)
Sets the y variable
[more] ~SugRectElement ()
The class destructor

Protected Fields

[more]SugRealType mHeight
The height variable
[more]SugRealType mRx
The rx variable (from the SVG IDL).
[more]SugRealType mRy
The ry variable (from the SVG IDL).
[more]SugRealType mWidth
The width variable
[more]SugRealType mX
The x location variable
[more]SugRealType mY
The y location variable


Inherited from SugElement:

Public Methods

ovoid addAttribute(char* name, char* value)
obool getColorAttribute(char* attrName, SugColor& attrValue)
oSugTypes::ElementType getElementType()
obool getFloatAttribute(char* attrName, float& attrValue)
oconst char* getId()
obool getIntegerAttribute(char* attrName, int& attrValue)
obool getPointListAttribute(char* attrName, vector<SugPoint>& attrValue)
oconst char* getStringAttribute(char* attrName)
obool getTransformListAttribute(vector<SugTransform>& attrValue)
ovoid printAttributes()
ovoid setElementType(SugTypes::ElementType newType)

Protected Fields

omap<string, string> mAttributes
oSugTypes::ElementType mElementType


Inherited from SugNode:

Public Methods

oSugNode* appendChild(SugNode* newChild)
ovector<SugNode> * getChildNodes()
oSugNode* getFirstChild()
oSugNode* getLastChild()
oSugNode* getNextSibling()
ochar* getNodeName()
ounsigned short getNodeType()
ochar* getNodeValue()
oSugNode* getParentNode()
oSugNode* getPreviousSibling()
obool hasAttributes()
obool hasChildNodes()
oSugNode* insertBefore(SugNode* newChild, SugNode* refChild)
oSugNode* removeChild(SugNode* oldChild)
oSugNode* replaceChild(SugNode* newChild, SugNode* oldChild)
oSugNode* setFirstChild(SugNode* newFirstChild)
oSugNode* setLastChild(SugNode* newLastChild)
oSugNode* setNextSibling(SugNode* newNextSibling)
ochar* setNodeName(char* newNodeName)
ounsigned short setNodeType(unsigned short newNodeType)
ochar* setNodeValue(char* newNodeValue)
oSugNode* setParentNode(SugNode* newParentNode)
oSugNode* setPreviousSibling(SugNode* newPreviousSibling)

Protected Fields

ovector<SugNode> mChildNodes
oSugNode* mFirstChild
oSugNode* mLastChild
oSugNode* mNextSibling
ochar* mNodeName
ounsigned short mNodeType
ochar* mNodeValue
oSugNode* mParentNode
oSugNode* mPreviousSibling


Documentation

The subclass of SugElement responsible for representing SVGRect
oSugRealType mX
The x location variable

oSugRealType mY
The y location variable

oSugRealType mWidth
The width variable

oSugRealType mHeight
The height variable

oSugRealType mRx
The rx variable (from the SVG IDL). Currently unused.

oSugRealType mRy
The ry variable (from the SVG IDL). Currently unused.

oSugRealType getX()
Returns the x variable

oSugRealType getY()
Returns the y variable

oSugRealType getWidth()
Returns the width variable

oSugRealType getHeight()
Returns the height variable

oSugRealType getRx()
Returns the rx variable, unused

oSugRealType getRy()
Returns the ry variable, unused

oSugRealType setX(SugRealType newX)
Sets the x variable

oSugRealType setY(SugRealType newY)
Sets the y variable

oSugRealType setWidth(SugRealType newWidth)
Sets the width variable

oSugRealType setHeight(SugRealType newHeight)
Sets the height variable

oSugRealType setRx(SugRealType newRx)
Sets the rx variable, unused

oSugRealType setRy(SugRealType newRy)
Sets the ry variable, unused

o SugRectElement()
The class constructor

o ~SugRectElement()
The class destructor


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.