~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/filters/blend.h

  • Committer: JazzyNico
  • Date: 2011-08-29 20:25:30 UTC
  • Revision ID: nicoduf@yahoo.fr-20110829202530-6deuoz11q90usldv
Code refactoring and merging with trunk (revision 10599).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef SP_FEBLEND_H_SEEN
2
 
#define SP_FEBLEND_H_SEEN
3
 
 
4
 
/** \file
5
 
 * SVG <feBlend> implementation, see Blend.cpp.
6
 
 */
7
 
/*
 
1
/** @file
 
2
 * @brief SVG blend filter effect
 
3
 *//*
8
4
 * Authors:
9
5
 *   Hugo Rodrigues <haa.rodrigues@gmail.com>
10
6
 *   Niko Kiirala <niko@kiirala.com>
14
10
 * Released under GNU GPL, read the file 'COPYING' for more information
15
11
 */
16
12
 
17
 
#include "sp-filter.h"
18
 
#include "blend-fns.h"
 
13
#ifndef SP_FEBLEND_H_SEEN
 
14
#define SP_FEBLEND_H_SEEN
19
15
 
 
16
#include "sp-filter-primitive.h"
20
17
#include "display/nr-filter-blend.h"
21
18
 
22
 
/* FeBlend base class */
 
19
#define SP_TYPE_FEBLEND (sp_feBlend_get_type())
 
20
#define SP_FEBLEND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_FEBLEND, SPFeBlend))
 
21
#define SP_FEBLEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_FEBLEND, SPFeBlendClass))
 
22
#define SP_IS_FEBLEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FEBLEND))
 
23
#define SP_IS_FEBLEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FEBLEND))
 
24
 
23
25
class SPFeBlendClass;
24
26
 
25
27
struct SPFeBlend : public SPFilterPrimitive {
26
 
    /** BLEND ATTRIBUTES HERE */
27
28
    Inkscape::Filters::FilterBlendMode blend_mode;
28
29
    int in2;
29
30
};
46
47
  fill-column:99
47
48
  End:
48
49
*/
49
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
 
50
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :