diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-04-06 22:22:14 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-04-06 22:22:14 +0000 |
| commit | 1a4fb1c5b0c91ed84f3a98bc78cfc725d043e629 (patch) | |
| tree | 62bfc4f11a05cfbe8fdf64e15e967e505258bbd7 /src/helper/geom-pathinfo.cpp | |
| parent | rename pathinfo function (diff) | |
| download | inkscape-1a4fb1c5b0c91ed84f3a98bc78cfc725d043e629.tar.gz inkscape-1a4fb1c5b0c91ed84f3a98bc78cfc725d043e629.zip | |
Adding and renaming methofs to pathinfo
(bzr r13645.1.79)
Diffstat (limited to 'src/helper/geom-pathinfo.cpp')
| -rw-r--r-- | src/helper/geom-pathinfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helper/geom-pathinfo.cpp b/src/helper/geom-pathinfo.cpp index 0cb7c64dd..8144564cb 100644 --- a/src/helper/geom-pathinfo.cpp +++ b/src/helper/geom-pathinfo.cpp @@ -85,6 +85,11 @@ size_t Pathinfo::size() const return data.back().first + 1; } +size_t Pathinfo::subPathSize(size_t index) const +{ + return data[index].first + 1; +} + size_t Pathinfo::subPathIndex(size_t index) const { for (size_t i = 0; i < data.size(); i++) { |
