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

« back to all changes in this revision

Viewing changes to src/sp-fespecularlighting.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
/*
8
8
 * Authors:
9
9
 *   Hugo Rodrigues <haa.rodrigues@gmail.com>
 
10
 *   Jean-Rene Reinhard <jr@komite.net>
10
11
 *
11
12
 * Copyright (C) 2006 Hugo Rodrigues
 
13
 *               2007 authors
12
14
 *
13
15
 * Released under GNU GPL, read the file 'COPYING' for more information
14
16
 */
16
18
#include "sp-filter.h"
17
19
#include "sp-fespecularlighting-fns.h"
18
20
 
 
21
namespace NR {
 
22
class FilterSpecularLighting;
 
23
}
 
24
 
19
25
/* FeSpecularLighting base class */
20
26
class SPFeSpecularLightingClass;
21
27
 
22
28
struct SPFeSpecularLighting : public SPFilterPrimitive {
23
29
    /** SPECULARLIGHTING ATTRIBUTES HERE */
24
 
    
 
30
    /** surfaceScale attribute */
 
31
    gfloat surfaceScale;
 
32
    guint surfaceScale_set : 1;
 
33
    /** specularConstant attribute */
 
34
    gfloat specularConstant;
 
35
    guint specularConstant_set : 1;
 
36
    /** specularConstant attribute */
 
37
    gfloat specularExponent;
 
38
    guint specularExponent_set : 1;
 
39
    /** kernelUnitLenght attribute */
 
40
    NumberOptNumber kernelUnitLength;
 
41
    /** lighting-color property */
 
42
    guint32 lighting_color;
 
43
    guint lighting_color_set : 1;
 
44
 
 
45
    NR::FilterSpecularLighting *renderer;
25
46
};
26
47
 
27
48
struct SPFeSpecularLightingClass {