diff options
| author | Ted Gould <ted@gould.cx> | 2007-10-30 19:30:20 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-10-30 19:30:20 +0000 |
| commit | c01e5c5381da6700af759f872bee5e08546d7267 (patch) | |
| tree | 436414de586df35fa734e5831b9f2835614f63cf /src/extension/internal/bitmap/sample.h | |
| parent | r16894@shi: ted | 2007-10-30 09:26:42 -0700 (diff) | |
| download | inkscape-c01e5c5381da6700af759f872bee5e08546d7267.tar.gz inkscape-c01e5c5381da6700af759f872bee5e08546d7267.zip | |
r16895@shi: ted | 2007-10-30 09:35:24 -0700
Adding in Chris' downsample patch.
(bzr r3981)
Diffstat (limited to 'src/extension/internal/bitmap/sample.h')
| -rw-r--r-- | src/extension/internal/bitmap/sample.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/extension/internal/bitmap/sample.h b/src/extension/internal/bitmap/sample.h new file mode 100644 index 000000000..a378229d9 --- /dev/null +++ b/src/extension/internal/bitmap/sample.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2007 Authors: + * Christopher Brown <audiere@gmail.com> + * Ted Gould <ted@gould.cx> + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "imagemagick.h" + +namespace Inkscape { +namespace Extension { +namespace Internal { +namespace Bitmap { + +class Sample : public ImageMagick +{ +private: + int _width; + int _height; +public: + void applyEffect(Magick::Image *image); + void refreshParameters(Inkscape::Extension::Effect *module); + static void init(void); +}; + +}; /* namespace Bitmap */ +}; /* namespace Internal */ +}; /* namespace Extension */ +}; /* namespace Inkscape */ |
