class SugPolygonElement

The subclass of SugElement responsible for representing SVGPolygon

Inheritance:


Public Methods

[more] SugPolygonElement ()
The class constructor
[more]vector<SugPoint*> * getPointList ()
Returns the vector of points
[more]vector<SugPoint*> * setPointList (vector<SugPoint*> newPointList)
Sets the vector of points
[more] ~SugPolygonElement ()
The class destructor

Protected Fields

[more]vector<SugPoint*> mPoints
The vector that holds the points of the polygon


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 SVGPolygon
ovector<SugPoint*> mPoints
The vector that holds the points of the polygon

ovector<SugPoint*> * getPointList()
Returns the vector of points

ovector<SugPoint*> * setPointList(vector<SugPoint*> newPointList)
Sets the vector of points

o SugPolygonElement()
The class constructor

o ~SugPolygonElement()
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++.