~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-feimage.h

  • Committer: Ted Gould
  • Date: 2008-11-21 05:24:08 UTC
  • Revision ID: ted@canonical.com-20081121052408-tilucis2pjrrpzxx
Merge from fe-moved

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef SP_FEIMAGE_H_SEEN
2
 
#define SP_FEIMAGE_H_SEEN
3
 
 
4
 
/** \file
5
 
 * SVG <feImage> implementation, see sp-feImage.cpp.
6
 
 */
7
 
/*
8
 
 * Authors:
9
 
 *   Felipe Corrêa da Silva Sanches <felipe.sanches@gmail.com>
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
 
 */
16
 
 
17
 
#include "sp-filter.h"
18
 
#include "sp-feimage-fns.h"
19
 
#include "svg/svg-length.h"
20
 
#include "sp-item.h"
21
 
#include "uri-references.h"
22
 
 
23
 
/* FeImage base class */
24
 
class SPFeImageClass;
25
 
 
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 _modified_connection;
35
 
};
36
 
 
37
 
struct SPFeImageClass {
38
 
    SPFilterPrimitiveClass parent_class;
39
 
};
40
 
 
41
 
GType sp_feImage_get_type();
42
 
 
43
 
 
44
 
#endif /* !SP_FEIMAGE_H_SEEN */
45
 
 
46
 
/*
47
 
  Local Variables:
48
 
  mode:c++
49
 
  c-file-style:"stroustrup"
50
 
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
51
 
  indent-tabs-mode:nil
52
 
  fill-column:99
53
 
  End:
54
 
*/
55
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :