sp-canvas.h revision efeb53ea75db6db7cacd663d1897c213ff87d110
2N/A * SPCanvas, SPCanvasBuf, and SPCanvasItem. 2N/A * Federico Mena <federico@nuclecu.unam.mx> 2N/A * Raph Levien <raph@gimp.org> 2N/A * Lauris Kaplinski <lauris@kaplinski.com> 2N/A * Copyright (C) 1998 The Free Software Foundation 2N/A * Copyright (C) 2002 Lauris Kaplinski 2N/A * Released under GNU GPL, read the file 'COPYING' for more information 2N/A * The canvas buf contains the actual pixels. 2N/A /// Background color, given as 0xrrggbb 2N/A // If empty, ignore contents of buffer and use a solid area of bg_color 2N/A * An SPCanvasItem refers to a SPCanvas and to its parent item; it has 2N/A * four coordinates, a bounding rectangle, and a transformation matrix. 2N/A * The vtable of an SPCanvasItem. /* get item z-order in parent group */ // SPCanvas ------------------------------------------------- * Port of GnomeCanvas for inkscape needs. /* Area that needs redrawing, stored as a microtile array */ /* Last known modifier state, for deferred repick when a button is down */ /* The item containing the mouse pointer, or NULL if none */ /* Item that is about to become current (used to track deletions and such) */ /* Item that holds a pointer grab, or NULL if none */ /* Event mask specified when grabbing an item */ /* If non-NULL, the currently focused item */ /* Event on which selection of current item is based */ /* GC for temporary draw pixmap */ /* For use by internal pick_current_item() function */ /* For use by internal pick_current_item() function */ // 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 c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :