diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-04-01 22:59:01 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-04-01 22:59:01 +0000 |
| commit | d6978fcea4a2ccd2d9cccefabc6558a74f332a6d (patch) | |
| tree | 98ea2cff482d6b2196e4bffa4fab3a7a4d5aead0 /src/splivarot.h | |
| parent | German translation update. (diff) | |
| download | inkscape-d6978fcea4a2ccd2d9cccefabc6558a74f332a6d.tar.gz inkscape-d6978fcea4a2ccd2d9cccefabc6558a74f332a6d.zip | |
add curve before LPE to SPShape. this is useful for helperpath display. It was inspired from fixing bug 407008
Fixed bugs:
- https://launchpad.net/bugs/407008
(bzr r10142)
Diffstat (limited to 'src/splivarot.h')
| -rw-r--r-- | src/splivarot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/splivarot.h b/src/splivarot.h index ea8183b67..40089ad71 100644 --- a/src/splivarot.h +++ b/src/splivarot.h @@ -49,8 +49,10 @@ Geom::PathVector* item_outline(SPItem const *item); void sp_selected_path_simplify (SPDesktop *desktop); Path *Path_for_item(SPItem *item, bool doTransformation, bool transformFull = true); +Path *Path_for_item_before_LPE(SPItem *item, bool doTransformation, bool transformFull = true); Geom::PathVector* pathvector_for_curve(SPItem *item, SPCurve *curve, bool doTransformation, bool transformFull, Geom::Affine extraPreAffine, Geom::Affine extraPostAffine); SPCurve *curve_for_item(SPItem *item); +SPCurve *curve_for_item_before_LPE(SPItem *item); boost::optional<Path::cut_position> get_nearest_position_on_Path(Path *path, Geom::Point p, unsigned seg = 0); Geom::Point get_point_on_Path(Path *path, int piece, double t); |
