Code

Fixed crash when draw height was zero.
[inkscape.git] / src / selection-chemistry.h
index df8b699317726bb29dbaf709ef42cfd7f0451696..6bd58e8e5af0fe8f49af8bffc282ba78d9151941 100644 (file)
@@ -53,6 +53,9 @@ void sp_selection_copy();
 void sp_selection_paste(bool in_place);
 void sp_selection_paste_style();
 
+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 ();
 
@@ -85,11 +88,18 @@ 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);
+
 /* selection cycling */
 
 typedef enum