Logo Search packages:      
Sourcecode: inkscape version File versions

virtual unsigned Inkscape::XML::Node::position (  )  const [pure virtual]

Get the index of this node in parent's child order.

If this method is used on a node that doesn't have a parent, the method will return 0, and a warning will be printed on the console.

The node's index, or 0 if the node does not have a parent

Implemented in Inkscape::XML::SimpleNode, and Inkscape::XML::SimpleNode.

Referenced by sp_repr_compare_position(), and stamp_repr().

Generated by  Doxygen 1.6.0   Back to index