diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-04-01 03:04:55 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-04-01 03:04:55 +0000 |
| commit | a9c4f968812f8dad06b694573d3ed67eb03dafcd (patch) | |
| tree | 35bf1f3b2e580baf55ec36f2970e3cf1ccf14497 /src/splivarot.h | |
| parent | turns out, all these synthesize_events were not necessary at all - they just ... (diff) | |
| download | inkscape-a9c4f968812f8dad06b694573d3ed67eb03dafcd.tar.gz inkscape-a9c4f968812f8dad06b694573d3ed67eb03dafcd.zip | |
switch get_nearest_position and get_point to using supplied livarot Path instead of creating one each time from an item
(bzr r384)
Diffstat (limited to 'src/splivarot.h')
| -rw-r--r-- | src/splivarot.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/splivarot.h b/src/splivarot.h index ae83d22bb..4e73eac9f 100644 --- a/src/splivarot.h +++ b/src/splivarot.h @@ -41,8 +41,9 @@ void sp_selected_path_outline (); // simplifies a path (removes small segments and the like) void sp_selected_path_simplify (); -NR::Maybe<Path::cut_position> get_nearest_position_on_Path(SPItem *item, NR::Point p); -NR::Point get_point_on_Path(SPItem *item, int piece, double t); +Path *Path_for_item(SPItem *item, bool doTransformation, bool transformFull = true); +NR::Maybe<Path::cut_position> get_nearest_position_on_Path(Path *path, NR::Point p); +NR::Point get_point_on_Path(Path *path, int piece, double t); #endif |
