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@6957 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 22, 2007
1 parent 8d62d5a commit 1151cee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/qgsvectorlayer.sip
Original file line number Diff line number Diff line change
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 1151cee

Please sign in to comment.