~ubuntu-branches/ubuntu/oneiric/inkscape/oneiric-updates

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/filters/image.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

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 Image.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 "image-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 _image_modified_connection;
 
35
    sigc::connection _href_modified_connection;
 
36
};
 
37
 
 
38
struct SPFeImageClass {
 
39
    SPFilterPrimitiveClass parent_class;
 
40
};
 
41
 
 
42
GType sp_feImage_get_type();
 
43
 
 
44
 
 
45
#endif /* !SP_FEIMAGE_H_SEEN */
 
46
 
 
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:encoding=utf-8:textwidth=99 :