Code

add breton win32 installer translation
[inkscape.git] / src / splivarot.h
1 #ifndef __SP_LIVAROT_H__
2 #define __SP_LIVAROT_H__
4 /*
5  * boolops and outlines
6  *
7  * public domain
8  */
10 #include "livarot/Path.h"
12 // boolean operations
13 // work on the current selection
14 // selection has 2 contain exactly 2 items
15 void sp_selected_path_union ();
16 void sp_selected_path_union_skip_undo ();
17 void sp_selected_path_intersect ();
18 void sp_selected_path_diff ();
19 void sp_selected_path_symdiff ();
20 void sp_selected_path_cut ();
21 void sp_selected_path_slice ();
23 // offset/inset of a curve
24 // takes the fill-rule in consideration
25 // offset amount is the stroke-width of the curve
26 void sp_selected_path_offset ();
27 void sp_selected_path_offset_screen (double pixels);
28 void sp_selected_path_inset ();
29 void sp_selected_path_inset_screen (double pixels);
30 void sp_selected_path_create_offset ();
31 void sp_selected_path_create_inset ();
32 void sp_selected_path_create_updating_offset ();
33 void sp_selected_path_create_updating_inset ();
35 void sp_selected_path_create_offset_object_zero ();
36 void sp_selected_path_create_updating_offset_object_zero ();
38 // outline of a curve
39 // uses the stroke-width
40 void sp_selected_path_outline ();
42 // simplifies a path (removes small segments and the like)
43 void sp_selected_path_simplify ();
45 Path *Path_for_item(SPItem *item, bool doTransformation, bool transformFull = true);
46 NArtBpath *bpath_for_curve(SPItem *item, SPCurve *curve, bool doTransformation, bool transformFull);
47 SPCurve *curve_for_item(SPItem *item);
48 NR::Maybe<Path::cut_position> get_nearest_position_on_Path(Path *path, NR::Point p);
49 NR::Point get_point_on_Path(Path *path, int piece, double t);
50 Path *bpath_to_Path(NArtBpath const *bpath);
52 #endif
54 /*
55   Local Variables:
56   mode:c++
57   c-file-style:"stroustrup"
58   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
59   indent-tabs-mode:nil
60   fill-column:99
61   End:
62 */
63 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :