~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-feturbulence.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_FETURBULENCE_H_SEEN
2
 
#define SP_FETURBULENCE_H_SEEN
3
 
 
4
 
/** \file
5
 
 * SVG <feTurbulence> implementation, see sp-feTurbulence.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-feturbulence-fns.h"
19
 
#include "number-opt-number.h"
20
 
#include "display/nr-filter-turbulence.h"
21
 
 
22
 
/* FeTurbulence base class */
23
 
class SPFeTurbulenceClass;
24
 
 
25
 
struct SPFeTurbulence : public SPFilterPrimitive {
26
 
    /** TURBULENCE ATTRIBUTES HERE */
27
 
    NumberOptNumber baseFrequency;
28
 
    int numOctaves;
29
 
    double seed;
30
 
    bool stitchTiles;
31
 
    NR::FilterTurbulenceType type;
32
 
    SVGLength x, y, height, width;
33
 
    bool updated;
34
 
};
35
 
 
36
 
struct SPFeTurbulenceClass {
37
 
    SPFilterPrimitiveClass parent_class;
38
 
};
39
 
 
40
 
GType sp_feTurbulence_get_type();
41
 
 
42
 
 
43
 
#endif /* !SP_FETURBULENCE_H_SEEN */
44
 
 
45
 
/*
46
 
  Local Variables:
47
 
  mode:c++
48
 
  c-file-style:"stroustrup"
49
 
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50
 
  indent-tabs-mode:nil
51
 
  fill-column:99
52
 
  End:
53
 
*/
54
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :