1
#ifndef SP_FEDIFFUSELIGHTING_H_SEEN
2
#define SP_FEDIFFUSELIGHTING_H_SEEN
5
* SVG <feDiffuseLighting> implementation, see DiffuseLighting.cpp.
9
* Hugo Rodrigues <haa.rodrigues@gmail.com>
10
* Jean-Rene Reinhard <jr@komite.net>
12
* Copyright (C) 2006 Hugo Rodrigues
15
* Released under GNU GPL, read the file 'COPYING' for more information
18
#include "sp-filter.h"
19
#include "diffuselighting-fns.h"
22
class FilterDiffuseLighting;
25
/* FeDiffuseLighting base class */
26
class SPFeDiffuseLightingClass;
28
struct SPFeDiffuseLighting : public SPFilterPrimitive {
29
/** DIFFUSELIGHTING ATTRIBUTES HERE */
30
/** surfaceScale attribute */
32
guint surfaceScale_set : 1;
33
/** diffuseConstant attribute */
34
gfloat diffuseConstant;
35
guint diffuseConstant_set : 1;
36
/** kernelUnitLength attribute */
37
NumberOptNumber kernelUnitLength;
38
/** lighting-color property */
39
guint32 lighting_color;
40
guint lighting_color_set : 1;
41
/** pointer to the associated renderer */
42
NR::FilterDiffuseLighting *renderer;
45
struct SPFeDiffuseLightingClass {
46
SPFilterPrimitiveClass parent_class;
49
GType sp_feDiffuseLighting_get_type();
52
#endif /* !SP_FEDIFFUSELIGHTING_H_SEEN */
57
c-file-style:"stroustrup"
58
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
63
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :