~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/display/sp-ctrlpoint.h

  • Committer: JazzyNico
  • Date: 2011-08-29 20:25:30 UTC
  • Revision ID: nicoduf@yahoo.fr-20110829202530-6deuoz11q90usldv
Code refactoring and merging with trunk (revision 10599).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __INKSCAPE_CTRLPOINT_H__
2
 
#define __INKSCAPE_CTRLPOINT_H__
 
1
#ifndef SEEN_INKSCAPE_CTRLPOINT_H
 
2
#define SEEN_INKSCAPE_CTRLPOINT_H
3
3
 
4
4
/*
5
5
 * A simple point
12
12
 * Released under GNU GPL
13
13
 */
14
14
 
15
 
#include "sp-canvas.h"
 
15
#include "sp-canvas-item.h"
16
16
 
17
17
struct SPItem;
18
18
 
19
19
#define SP_TYPE_CTRLPOINT (sp_ctrlpoint_get_type ())
20
 
#define SP_CTRLPOINT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_CTRLPOINT, SPCtrlPoint))
21
 
#define SP_IS_CTRLPOINT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_CTRLPOINT))
 
20
#define SP_CTRLPOINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CTRLPOINT, SPCtrlPoint))
 
21
#define SP_IS_CTRLPOINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_CTRLPOINT))
22
22
 
23
 
struct SPCtrlPoint : public SPCanvasItem{
 
23
struct SPCtrlPoint : public SPCanvasItem {
24
24
    SPItem *item;  // the item to which this line belongs in some sense; may be NULL for some users
25
25
    guint32 rgba;
26
26
    Geom::Point pt;
27
 
    Geom::Matrix affine;
 
27
    Geom::Affine affine;
28
28
    double radius;
29
29
};
30
30
struct SPCtrlPointClass : public SPCanvasItemClass{};
38
38
 
39
39
 
40
40
 
41
 
#endif
 
41
#endif // SEEN_INKSCAPE_CTRLPOINT_H
42
42
 
43
43
/*
44
44
  Local Variables:
49
49
  fill-column:99
50
50
  End:
51
51
*/
52
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
 
52
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :