~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/filters/specularlighting.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

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 SpecularLighting.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 "specularlighting-fns.h"
 
20
 
 
21
namespace Inkscape {
 
22
namespace Filters {
 
23
class FilterSpecularLighting;
 
24
}
 
25
}
 
26
 
 
27
/* FeSpecularLighting base class */
 
28
class SPFeSpecularLightingClass;
 
29
 
 
30
struct SPFeSpecularLighting : public SPFilterPrimitive {
 
31
    /** SPECULARLIGHTING ATTRIBUTES HERE */
 
32
    /** surfaceScale attribute */
 
33
    gfloat surfaceScale;
 
34
    guint surfaceScale_set : 1;
 
35
    /** specularConstant attribute */
 
36
    gfloat specularConstant;
 
37
    guint specularConstant_set : 1;
 
38
    /** specularConstant attribute */
 
39
    gfloat specularExponent;
 
40
    guint specularExponent_set : 1;
 
41
    /** kernelUnitLenght attribute */
 
42
    NumberOptNumber kernelUnitLength;
 
43
    /** lighting-color property */
 
44
    guint32 lighting_color;
 
45
    guint lighting_color_set : 1;
 
46
 
 
47
    Inkscape::Filters::FilterSpecularLighting *renderer;
 
48
};
 
49
 
 
50
struct SPFeSpecularLightingClass {
 
51
    SPFilterPrimitiveClass parent_class;
 
52
};
 
53
 
 
54
GType sp_feSpecularLighting_get_type();
 
55
 
 
56
 
 
57
#endif /* !SP_FESPECULARLIGHTING_H_SEEN */
 
58
 
 
59
/*
 
60
  Local Variables:
 
61
  mode:c++
 
62
  c-file-style:"stroustrup"
 
63
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
64
  indent-tabs-mode:nil
 
65
  fill-column:99
 
66
  End:
 
67
*/
 
68
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :