Code

moving trunk for module inkscape
[inkscape.git] / src / display / sp-ctrlline.h
1 #ifndef __INKSCAPE_CTRLLINE_H__
2 #define __INKSCAPE_CTRLLINE_H__
4 /*
5  * Simple straight line
6  *
7  * Author:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * Copyright (C) 1999-2002 Lauris Kaplinski
11  *
12  * Released under GNU GPL
13  */
15 #include "sp-canvas.h"
19 #define SP_TYPE_CTRLLINE (sp_ctrlline_get_type ())
20 #define SP_CTRLLINE(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_CTRLLINE, SPCtrlLine))
21 #define SP_IS_CTRLLINE(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_CTRLLINE))
23 struct SPCtrlLine;
24 struct SPCtrlLineClass;
26 GtkType sp_ctrlline_get_type (void);
28 void sp_ctrlline_set_rgba32 (SPCtrlLine *cl, guint32 rgba);
29 void sp_ctrlline_set_coords (SPCtrlLine *cl, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
30 void sp_ctrlline_set_coords (SPCtrlLine *cl, const NR::Point start, const NR::Point end);
34 #endif
36 /*
37   Local Variables:
38   mode:c++
39   c-file-style:"stroustrup"
40   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
41   indent-tabs-mode:nil
42   fill-column:99
43   End:
44 */
45 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :