sp-canvas.h revision 50552708bc144fdd1d09e2057b3890d998c92136
341N/A * SPCanvas, SPCanvasBuf. 341N/A * Federico Mena <federico@nuclecu.unam.mx> 341N/A * Raph Levien <raph@gimp.org> 341N/A * Lauris Kaplinski <lauris@kaplinski.com> 341N/A * Jon A. Cruz <jon@joncruz.org> 341N/A * Copyright (C) 1998 The Free Software Foundation 341N/A * Copyright (C) 2002 Lauris Kaplinski 341N/A * Released under GNU GPL, read the file 'COPYING' for more information 341N/A * Structure used when rendering canvas items. 341N/A// SPCanvas ------------------------------------------------- 341N/A * Port of GnomeCanvas for inkscape needs. 341N/A * Returns new canvas as widget. 341N/A * Returns the root group of the specified canvas. 341N/A * Scrolls canvas to specific position (cx and cy are measured in screen pixels). 341N/A * Updates canvas if necessary. 341N/A * Forces redraw of rectangular canvas area. 341N/A * Force a full redraw after a specified number of interrupted redraws. 341N/A * End forced full redraw requests. 341N/A // Data members: ---------------------------------------------------------- 341N/A /* Area that needs redrawing, stored as a microtile array */ 341N/A /** Last known modifier state, for deferred repick when a button is down. */ 341N/A /** The item containing the mouse pointer, or NULL if none. */ 341N/A /** Item that is about to become current (used to track deletions and such). */ 341N/A /** Item that holds a pointer grab, or NULL if none. */ 341N/A /** Event mask specified when grabbing an item. */ 341N/A /** If non-NULL, the currently focused item. */ 341N/A /** Event on which selection of current item is based. */ 341N/A /** For use by internal pick_current_item() function. */ 341N/A /** For use by internal pick_current_item() function. */ 341N/A // In most tools Inkscape only generates enter and leave events 341N/A // on the current item, but no other enter events if a mouse button 341N/A // is depressed -- see function pick_current_item(). Some tools 341N/A // may wish the canvas to generate to all enter events, (e.g., the 341N/A // connector tool). If so, they may temporarily set this flag to 341N/A /** For scripting, sometimes we want to delay drawing. */ 341N/A#
endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) 341N/A#
endif // SEEN_SP_CANVAS_H 341N/A c-file-style:"stroustrup" 341N/A c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) 341N/A// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :