Skip to content

Commit

Permalink
Entry for QgsVectorLayer::AddRing in the .sip file
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6957 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 22, 2007
1 parent fc1ea6e commit cf204a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/qgsvectorlayer.sip
Expand Up @@ -168,6 +168,11 @@ public:
*/
bool deleteSelectedFeatures();

/**Adds a ring to polygon/multipolygon features
@return 0 in case of success, 1 problem with feature type, 2 ring not closed, 3 ring not valid, 4 ring crosses \
existing rings, 5 no feature found where ring can be inserted*/
int addRing(const QList<QgsPoint>& ring);

/** Set labels on */
void setLabelOn( bool on );

Expand Down

0 comments on commit cf204a6

Please sign in to comment.