Code

show waiting cursor while ExecutionEnv is working
[inkscape.git] / src / draw-anchor.h
1 #ifndef SEEN_DRAW_ANCHOR_H
2 #define SEEN_DRAW_ANCHOR_H
4 /** \file 
5  * Drawing anchors. 
6  */
8 #include <glib/gtypes.h>
9 #include <2geom/point.h>
11 struct SPDrawContext;
12 struct SPCurve;
13 struct SPCanvasItem;
15 /// The drawing anchor.
16 /// \todo Make this a regular knot, this will allow to set statusbar tips.
17 struct SPDrawAnchor { 
18     SPDrawContext *dc;
19     SPCurve *curve;
20     guint start : 1;
21     guint active : 1;
22     Geom::Point dp;
23     SPCanvasItem *ctrl;
24 };
27 SPDrawAnchor *sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start,
28                                  Geom::Point delta);
29 SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor);
30 SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean activate);
33 #endif /* !SEEN_DRAW_ANCHOR_H */
35 /*
36   Local Variables:
37   mode:c++
38   c-file-style:"stroustrup"
39   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
40   indent-tabs-mode:nil
41   fill-column:99
42   End:
43 */
44 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :