summaryrefslogtreecommitdiffstats
path: root/src/display/sp-ctrlpoint.h
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2015-12-10 05:43:23 +0000
committerMartin Owens <doctormo@gmail.com>2015-12-10 05:43:23 +0000
commit1b5e5271ae41e3ab4e2d352118e66ccafc608a6f (patch)
treefdb7bf33ae747cebb9428612bbd998723eb28aa6 /src/display/sp-ctrlpoint.h
parentRemove unused header file. (diff)
downloadinkscape-1b5e5271ae41e3ab4e2d352118e66ccafc608a6f.tar.gz
inkscape-1b5e5271ae41e3ab4e2d352118e66ccafc608a6f.zip
Remove CtrlPoint and replace with SPKnot
(bzr r14523)
Diffstat (limited to 'src/display/sp-ctrlpoint.h')
-rw-r--r--src/display/sp-ctrlpoint.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/display/sp-ctrlpoint.h b/src/display/sp-ctrlpoint.h
deleted file mode 100644
index 02e61caf0..000000000
--- a/src/display/sp-ctrlpoint.h
+++ /dev/null
@@ -1,54 +0,0 @@
-#ifndef SEEN_INKSCAPE_CTRLPOINT_H
-#define SEEN_INKSCAPE_CTRLPOINT_H
-
-/*
- * A simple point
- *
- * Author:
- * Maximilian Albert <maximilian.albert@gmail.com>
- *
- * Copyright (C) 2008 Maximilian Albert
- *
- * Released under GNU GPL
- */
-
-#include "sp-canvas-item.h"
-
-class SPItem;
-
-#define SP_TYPE_CTRLPOINT (sp_ctrlpoint_get_type ())
-#define SP_CTRLPOINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CTRLPOINT, SPCtrlPoint))
-#define SP_IS_CTRLPOINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_CTRLPOINT))
-
-struct SPCtrlPoint : public SPCanvasItem {
- SPItem *item; // the item to which this line belongs in some sense; may be NULL for some users
- guint32 rgba;
- Geom::Point pt;
- Geom::Affine affine;
- double lenght;
- bool is_circle;
-};
-struct SPCtrlPointClass : public SPCanvasItemClass{};
-
-GType sp_ctrlpoint_get_type (void);
-
-void sp_ctrlpoint_set_color (SPCtrlPoint *cp, guint32 rgba);
-void sp_ctrlpoint_set_coords (SPCtrlPoint *cp, const gdouble x, const gdouble y);
-void sp_ctrlpoint_set_coords (SPCtrlPoint *cp, const Geom::Point pt);
-void sp_ctrlpoint_set_lenght (SPCtrlPoint *cp, const double r);
-void sp_ctrlpoint_set_circle (SPCtrlPoint *cp, const bool circle);
-
-
-
-#endif // SEEN_INKSCAPE_CTRLPOINT_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :