1
#ifndef SP_FESPOTLIGHT_H_SEEN
2
#define SP_FESPOTLIGHT_H_SEEN
5
* SVG <filter> implementation, see sp-filter.cpp.
9
* Hugo Rodrigues <haa.rodrigues@gmail.com>
10
* Niko Kiirala <niko@kiirala.com>
11
* Jean-Rene Reinhard <jr@komite.net>
13
* Copyright (C) 2006,2007 Authors
15
* Released under GNU GPL, read the file 'COPYING' for more information
18
#include "sp-object.h"
20
#define SP_TYPE_FESPOTLIGHT (sp_fespotlight_get_type())
21
#define SP_FESPOTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_FESPOTLIGHT, SPFeSpotLight))
22
#define SP_FESPOTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_FESPOTLIGHT, SPFeSpotLightClass))
23
#define SP_IS_FESPOTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FESPOTLIGHT))
24
#define SP_IS_FESPOTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FESPOTLIGHT))
26
/* Distant light class */
30
class SPFeSpotLightClass;
32
struct SPFeSpotLight : public SPObject {
34
/** x coordinate of the light source */
37
/** y coordinate of the light source */
40
/** z coordinate of the light source */
43
/** x coordinate of the point the source is pointing at */
45
guint pointsAtX_set : 1;
46
/** y coordinate of the point the source is pointing at */
48
guint pointsAtY_set : 1;
49
/** z coordinate of the point the source is pointing at */
51
guint pointsAtZ_set : 1;
52
/** specular exponent (focus of the light) */
53
gfloat specularExponent;
54
guint specularExponent_set : 1;
55
/** limiting cone angle */
56
gfloat limitingConeAngle;
57
guint limitingConeAngle_set : 1;
61
struct SPFeSpotLightClass {
62
SPObjectClass parent_class;
66
sp_fespotlight_get_type();
67
#endif /* !SP_FESPOTLIGHT_H_SEEN */
72
c-file-style:"stroustrup"
73
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
78
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :