~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/sp-linear-gradient.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SP_LINEAR_GRADIENT_H
 
2
#define SP_LINEAR_GRADIENT_H
 
3
 
 
4
/** \file
 
5
 * SPLinearGradient: SVG <lineargradient> implementation
 
6
 */
 
7
 
 
8
#include "sp-gradient.h"
 
9
#include "svg/svg-length.h"
 
10
#include "sp-linear-gradient-fns.h"
 
11
 
 
12
/** Linear gradient. */
 
13
struct SPLinearGradient : public SPGradient {
 
14
    SVGLength x1;
 
15
    SVGLength y1;
 
16
    SVGLength x2;
 
17
    SVGLength y2;
 
18
};
 
19
 
 
20
/// The SPLinearGradient vtable.
 
21
struct SPLinearGradientClass {
 
22
    SPGradientClass parent_class;
 
23
};
 
24
 
 
25
#endif /* !SP_LINEAR_GRADIENT_H */
 
26
 
 
27
/*
 
28
  Local Variables:
 
29
  mode:c++
 
30
  c-file-style:"stroustrup"
 
31
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
32
  indent-tabs-mode:nil
 
33
  fill-column:99
 
34
  End:
 
35
*/
 
36
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :