1 #ifndef SP_FEDISTANTLIGHT_H_SEEN
2 #define SP_FEDISTANTLIGHT_H_SEEN
4 /** \file
5 * SVG <filter> implementation, see sp-filter.cpp.
6 */
7 /*
8 * Authors:
9 * Hugo Rodrigues <haa.rodrigues@gmail.com>
10 * Niko Kiirala <niko@kiirala.com>
11 * Jean-Rene Reinhard <jr@komite.net>
12 *
13 * Copyright (C) 2006,2007 Authors
14 *
15 * Released under GNU GPL, read the file 'COPYING' for more information
16 */
18 #include "sp-object.h"
20 #define SP_TYPE_FEDISTANTLIGHT (sp_fedistantlight_get_type())
21 #define SP_FEDISTANTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_FEDISTANTLIGHT, SPFeDistantLight))
22 #define SP_FEDISTANTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_FEDISTANTLIGHT, SPFeDistantLightClass))
23 #define SP_IS_FEDISTANTLIGHT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FEDISTANTLIGHT))
24 #define SP_IS_FEDISTANTLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FEDISTANTLIGHT))
26 /* Distant light class */
29 class SPFeDistantLight;
30 class SPFeDistantLightClass;
32 struct SPFeDistantLight : public SPObject {
34 /** azimuth attribute */
35 gfloat azimuth;
36 guint azimuth_set : 1;
37 /** elevation attribute */
38 gfloat elevation;
39 guint elevation_set : 1;
40 };
42 struct SPFeDistantLightClass {
43 SPObjectClass parent_class;
44 };
46 GType
47 sp_fedistantlight_get_type();
48 #endif /* !SP_FEDISTANTLIGHT_H_SEEN */
50 /*
51 Local Variables:
52 mode:c++
53 c-file-style:"stroustrup"
54 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55 indent-tabs-mode:nil
56 fill-column:99
57 End:
58 */
59 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :