summaryrefslogtreecommitdiffstats
path: root/src/display/sp-ctrlquadr.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
commit35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch)
tree657d15a03cc46bd099fc2c6546a7a4ad43815d9f /src/display/sp-ctrlquadr.h
parentInitial commit. (diff)
downloadinkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.tar.xz
inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.zip
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/display/sp-ctrlquadr.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/display/sp-ctrlquadr.h b/src/display/sp-ctrlquadr.h
new file mode 100644
index 0000000..502227a
--- /dev/null
+++ b/src/display/sp-ctrlquadr.h
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#ifndef __INKSCAPE_CTRLQUADR_H__
+#define __INKSCAPE_CTRLQUADR_H__
+
+/*
+ * Quadrilateral
+ *
+ * Authors:
+ * bulia byak
+ *
+ * Copyright (C) 2005 authors
+ *
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
+
+#include <2geom/geom.h>
+
+#define SP_TYPE_CTRLQUADR (sp_ctrlquadr_get_type ())
+#define SP_CTRLQUADR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CTRLQUADR, SPCtrlQuadr))
+#define SP_IS_CTRLQUADR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_CTRLQUADR))
+
+struct SPCtrlQuadr;
+struct SPCtrlQuadrClass;
+
+GType sp_ctrlquadr_get_type ();
+
+void sp_ctrlquadr_set_rgba32 (SPCtrlQuadr *cl, guint32 rgba);
+void sp_ctrlquadr_set_coords (SPCtrlQuadr *cl, const Geom::Point p1, const Geom::Point p2, const Geom::Point p3, const Geom::Point p4);
+
+
+#endif
+
+/*
+ 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 :