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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/live_effects/lpe-test-doEffect-stack.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 INKSCAPE_LPE_DOEFFECT_STACK_H
 
2
#define INKSCAPE_LPE_DOEFFECT_STACK_H
 
3
 
 
4
/*
 
5
 * Inkscape::LPEdoEffectStackTest
 
6
 *
 
7
* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
 
8
 *
 
9
 * Released under GNU GPL, read the file 'COPYING' for more information
 
10
*
 
11
*   This effect is to test whether running up and down the doEffect stack does not change the original-d too much. 
 
12
*   i.e. for this effect, the output should match more or less exactly with the input.
 
13
*
 
14
 */
 
15
 
 
16
#include "live_effects/effect.h"
 
17
#include "live_effects/parameter/parameter.h"
 
18
#include "live_effects/parameter/point.h"
 
19
#include "live_effects/parameter/path.h"
 
20
 
 
21
namespace Inkscape {
 
22
namespace LivePathEffect {
 
23
 
 
24
class LPEdoEffectStackTest : public Effect {
 
25
public:
 
26
    LPEdoEffectStackTest(LivePathEffectObject *lpeobject);
 
27
    virtual ~LPEdoEffectStackTest();
 
28
 
 
29
    virtual void                                     doEffect (SPCurve * curve);
 
30
    virtual std::vector<Geom::Path>                  doEffect_path (std::vector<Geom::Path> const & path_in);
 
31
    virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
 
32
 
 
33
private:
 
34
    ScalarParam step;
 
35
    PointParam point;
 
36
    PathParam path;
 
37
 
 
38
    LPEdoEffectStackTest(const LPEdoEffectStackTest&);
 
39
    LPEdoEffectStackTest& operator=(const LPEdoEffectStackTest&);
 
40
};
 
41
 
 
42
}; //namespace LivePathEffect
 
43
}; //namespace Inkscape
 
44
 
 
45
#endif