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"
23
class FilterDiffuseLighting;
27
/* FeDiffuseLighting base class */
28
class SPFeDiffuseLightingClass;
30
struct SPFeDiffuseLighting : public SPFilterPrimitive {
31
/** DIFFUSELIGHTING ATTRIBUTES HERE */
32
/** surfaceScale attribute */
34
guint surfaceScale_set : 1;
35
/** diffuseConstant attribute */
36
gfloat diffuseConstant;
37
guint diffuseConstant_set : 1;
38
/** kernelUnitLength attribute */
39
NumberOptNumber kernelUnitLength;
40
/** lighting-color property */
41
guint32 lighting_color;
42
guint lighting_color_set : 1;
43
/** pointer to the associated renderer */
44
Inkscape::Filters::FilterDiffuseLighting *renderer;
47
struct SPFeDiffuseLightingClass {
48
SPFilterPrimitiveClass parent_class;
51
GType sp_feDiffuseLighting_get_type();
54
#endif /* !SP_FEDIFFUSELIGHTING_H_SEEN */
59
c-file-style:"stroustrup"
60
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
65
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :