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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/extension/internal/bitmap/colorize.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
/*
 
2
 * Authors:
 
3
 *   Christopher Brown <audiere@gmail.com>
 
4
 *   Ted Gould <ted@gould.cx>
 
5
 *
 
6
 * Copyright (C) 2007 Authors
 
7
 *
 
8
 * Released under GNU GPL, read the file 'COPYING' for more information
 
9
 */
 
10
 
 
11
#include "imagemagick.h"
 
12
 
 
13
namespace Inkscape {
 
14
namespace Extension {
 
15
namespace Internal {
 
16
namespace Bitmap {
 
17
 
 
18
class Colorize : public ImageMagick {
 
19
private:
 
20
        unsigned int _opacity;
 
21
        guint32 _color; 
 
22
 
 
23
public:
 
24
    void applyEffect(Magick::Image *image);
 
25
        void refreshParameters(Inkscape::Extension::Effect *module);
 
26
 
 
27
    static void init (void);
 
28
};
 
29
 
 
30
}; /* namespace Bitmap */
 
31
}; /* namespace Internal */
 
32
}; /* namespace Extension */
 
33
}; /* namespace Inkscape */