X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fselection-chemistry.h;h=6bd58e8e5af0fe8f49af8bffc282ba78d9151941;hb=129958c3b0e17dc15a5a4722ee83a89a780f9a57;hp=1e2e4cf077be0f10ac93ab19ef0f9e96752c596b;hpb=bfe53ffdaa5dda4a68d32d574158493c1c131ef8;p=inkscape.git diff --git a/src/selection-chemistry.h b/src/selection-chemistry.h index 1e2e4cf07..6bd58e8e5 100644 --- a/src/selection-chemistry.h +++ b/src/selection-chemistry.h @@ -88,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