~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-fespecularlighting.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_FESPECULARLIGHTING_H_SEEN
2
 
#define SP_FESPECULARLIGHTING_H_SEEN
3
 
 
4
 
/** \file
5
 
 * SVG <feSpecularLighting> implementation, see sp-feSpecularLighting.cpp.
6
 
 */
7
 
/*
8
 
 * Authors:
9
 
 *   Hugo Rodrigues <haa.rodrigues@gmail.com>
10
 
 *   Jean-Rene Reinhard <jr@komite.net>
11
 
 *
12
 
 * Copyright (C) 2006 Hugo Rodrigues
13
 
 *               2007 authors
14
 
 *
15
 
 * Released under GNU GPL, read the file 'COPYING' for more information
16
 
 */
17
 
 
18
 
#include "sp-filter.h"
19
 
#include "sp-fespecularlighting-fns.h"
20
 
 
21
 
namespace NR {
22
 
class FilterSpecularLighting;
23
 
}
24
 
 
25
 
/* FeSpecularLighting base class */
26
 
class SPFeSpecularLightingClass;
27
 
 
28
 
struct SPFeSpecularLighting : public SPFilterPrimitive {
29
 
    /** SPECULARLIGHTING ATTRIBUTES HERE */
30
 
    /** surfaceScale attribute */
31
 
    gfloat surfaceScale;
32
 
    guint surfaceScale_set : 1;
33
 
    /** specularConstant attribute */
34
 
    gfloat specularConstant;
35
 
    guint specularConstant_set : 1;
36
 
    /** specularConstant attribute */
37
 
    gfloat specularExponent;
38
 
    guint specularExponent_set : 1;
39
 
    /** kernelUnitLenght attribute */
40
 
    NumberOptNumber kernelUnitLength;
41
 
    /** lighting-color property */
42
 
    guint32 lighting_color;
43
 
    guint lighting_color_set : 1;
44
 
 
45
 
    NR::FilterSpecularLighting *renderer;
46
 
};
47
 
 
48
 
struct SPFeSpecularLightingClass {
49
 
    SPFilterPrimitiveClass parent_class;
50
 
};
51
 
 
52
 
GType sp_feSpecularLighting_get_type();
53
 
 
54
 
 
55
 
#endif /* !SP_FESPECULARLIGHTING_H_SEEN */
56
 
 
57
 
/*
58
 
  Local Variables:
59
 
  mode:c++
60
 
  c-file-style:"stroustrup"
61
 
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
62
 
  indent-tabs-mode:nil
63
 
  fill-column:99
64
 
  End:
65
 
*/
66
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :