~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/extension/internal/bitmap/levelChannel.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2007 Authors:
 
3
 *   Christopher Brown <audiere@gmail.com>
 
4
 *   Ted Gould <ted@gould.cx>
 
5
 *   
 
6
 * Released under GNU GPL, read the file 'COPYING' for more information
 
7
 */
 
8
 
 
9
#include "imagemagick.h"
 
10
 
 
11
namespace Inkscape {
 
12
namespace Extension {
 
13
namespace Internal {
 
14
namespace Bitmap {
 
15
 
 
16
class LevelChannel : public ImageMagick
 
17
{
 
18
private:
 
19
        float _black_point;
 
20
        float _white_point;
 
21
        float _mid_point;
 
22
        const gchar * _channelName;
 
23
public:
 
24
        void applyEffect(Magick::Image *image);
 
25
        void refreshParameters(Inkscape::Extension::Effect *module);
 
26
        static void init(void);
 
27
};
 
28
 
 
29
}; /* namespace Bitmap */
 
30
}; /* namespace Internal */
 
31
}; /* namespace Extension */
 
32
}; /* namespace Inkscape */