index a9bf2e4c35fe7bb0aceca27622aea3905cbff099..34ed87ac9198722ba9fc53795e4fd253b9c7d36a 100644 (file)
--- a/src/display/sp-canvas.h
+++ b/src/display/sp-canvas.h
guchar *buf;
int buf_rowstride;
NRRectL rect;
+ NRRectL visible_rect;
/// Background color, given as 0xrrggbb
guint32 bg_color;
// If empty, ignore contents of buffer and use a solid area of bg_color
/* For use by internal pick_current_item() function */
unsigned int in_repick : 1;
+ // In most tools Inkscape only generates enter and leave events
+ // on the current item, but no other enter events if a mouse button
+ // is depressed -- see function pick_current_item(). Some tools
+ // may wish the canvas to generate to all enter events, (e.g., the
+ // connector tool). If so, they may temporarily set this flag to
+ // 'true'.
+ bool gen_all_enter_events;
+
int rendermode;
NR::Rect getViewbox() const;