Code

User message context in extensions
[inkscape.git] / src / filters / image.h
1 #ifndef SP_FEIMAGE_H_SEEN
2 #define SP_FEIMAGE_H_SEEN
4 /** \file
5  * SVG <feImage> implementation, see Image.cpp.
6  */
7 /*
8  * Authors:
9  *   Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
10  *   Hugo Rodrigues <haa.rodrigues@gmail.com>
11  *
12  * Copyright (C) 2006 Hugo Rodrigues
13  *
14  * Released under GNU GPL, read the file 'COPYING' for more information
15  */
17 #include "sp-filter.h"
18 #include "image-fns.h"
19 #include "svg/svg-length.h"
20 #include "sp-item.h"
21 #include "uri-references.h"
23 /* FeImage base class */
24 class SPFeImageClass;
26 struct SPFeImage : public SPFilterPrimitive {
27     /** IMAGE ATTRIBUTES HERE */
28     gchar *href;
29     SVGLength x, y, height, width;
30     SPDocument *document;
31     bool from_element;
32     SPItem* SVGElem;
33     Inkscape::URIReference* SVGElemRef;
34     sigc::connection _image_modified_connection;
35     sigc::connection _href_modified_connection;
36 };
38 struct SPFeImageClass {
39     SPFilterPrimitiveClass parent_class;
40 };
42 GType sp_feImage_get_type();
45 #endif /* !SP_FEIMAGE_H_SEEN */
47 /*
48   Local Variables:
49   mode:c++
50   c-file-style:"stroustrup"
51   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
52   indent-tabs-mode:nil
53   fill-column:99
54   End:
55 */
56 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :