splivarot.h revision a4030d5ca449e7e384bc699cd249ee704faaeab0
#ifndef __SP_LIVAROT_H__
#define __SP_LIVAROT_H__
/*
* boolops and outlines
*
* public domain
*/
struct SPItem;
// boolean operations
// work on the current selection
// selection has 2 contain exactly 2 items
// takes the fill-rule in consideration
// offset amount is the stroke-width of the curve
// outline of a curve
// uses the stroke-width
// simplifies a path (removes small segments and the like)
Geom::PathVector* pathvector_for_curve(SPItem *item, SPCurve *curve, bool doTransformation, bool transformFull, Geom::Matrix extraPreAffine, Geom::Matrix extraPostAffine);
boost::optional<Path::cut_position> get_nearest_position_on_Path(Path *path, Geom::Point p, unsigned seg = 0);
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :