Code

fix 3d box drag
[inkscape.git] / src / selection-chemistry.h
index 9fbeaa9ecd0844441ea6013bb11e708cc8ffe4b0..9307fe5c06c75b227352f386d59223521f5dfb7e 100644 (file)
 
 namespace Inkscape { class Selection; }
 
+namespace Inkscape {
+namespace LivePathEffect {
+    class PathParam;
+}
+}
+
 class SPCSSAttr;
 
 void sp_selection_delete();
@@ -35,6 +41,9 @@ void sp_selection_clone();
 void sp_selection_unlink();
 void sp_select_clone_original ();
 
+void sp_selection_to_marker(bool apply = true);
+void sp_selection_to_guides();
+
 void sp_selection_tile(bool apply = true);
 void sp_selection_untile();
 
@@ -50,8 +59,15 @@ SPCSSAttr *take_style_from_item (SPItem *item);
 
 void sp_selection_cut();
 void sp_selection_copy();
+void sp_selection_copy_lpe_pathparam(Inkscape::LivePathEffect::PathParam * pathparam);
 void sp_selection_paste(bool in_place);
 void sp_selection_paste_style();
+void sp_selection_paste_livepatheffect();
+
+void sp_set_style_clipboard (SPCSSAttr *css);
+
+void sp_selection_paste_size(bool apply_x, bool apply_y);
+void sp_selection_paste_size_separately(bool apply_x, bool apply_y);
 
 void sp_selection_to_next_layer ();
 void sp_selection_to_prev_layer ();
@@ -80,13 +96,34 @@ void sp_selection_move_screen (gdouble dx, gdouble dy);
 void sp_selection_item_next (void);
 void sp_selection_item_prev (void);
 
+void sp_selection_next_patheffect_param(SPDesktop * dt);
+
+void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip);
+
 void scroll_to_show_item(SPDesktop *desktop, SPItem *item);
 
 void sp_undo (SPDesktop *desktop, SPDocument *doc);
 void sp_redo (SPDesktop *desktop, SPDocument *doc);
 
+void sp_selection_get_export_hints (Inkscape::Selection *selection, const char **filename, float *xdpi, float *ydpi);
+void sp_document_get_export_hints (SPDocument * doc, const char **filename, float *xdpi, float *ydpi);
+
 void sp_selection_create_bitmap_copy ();
 
+void sp_selection_set_mask(bool apply_clip_path, bool apply_to_layer);
+void sp_selection_unset_mask(bool apply_clip_path);
+
+void fit_canvas_to_selection(SPDesktop *desktop);
+void fit_canvas_to_drawing(SPDocument *doc);
+void fit_canvas_to_selection_or_drawing(SPDesktop *desktop);
+
+void unlock_all(SPDesktop *dt);
+void unlock_all_in_all_layers(SPDesktop *dt);
+void unhide_all(SPDesktop *dt);
+void unhide_all_in_all_layers(SPDesktop *dt);
+
+GSList * sp_selection_get_clipboard();
+
 /* selection cycling */
 
 typedef enum
@@ -106,3 +143,4 @@ SPCycleType SP_CYCLING = SP_CYCLE_FOCUS;
 #endif
 
 
+