diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2009-01-02 12:18:25 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2009-01-02 12:18:25 +0000 |
| commit | ce6f12df4a3f9969f1e42aeaa3cfdd31e0602ae6 (patch) | |
| tree | 301702c746a4de6dbd5f9eff52b90256c9f2ba9c /src/display/pixblock-transform.cpp | |
| parent | reorder LPE list (diff) | |
| download | inkscape-ce6f12df4a3f9969f1e42aeaa3cfdd31e0602ae6.tar.gz inkscape-ce6f12df4a3f9969f1e42aeaa3cfdd31e0602ae6.zip | |
Move filters into their own namespace Inkscape::Filters (from NR::)
(bzr r7058)
Diffstat (limited to 'src/display/pixblock-transform.cpp')
| -rw-r--r-- | src/display/pixblock-transform.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display/pixblock-transform.cpp b/src/display/pixblock-transform.cpp index daf27582a..d0ba89806 100644 --- a/src/display/pixblock-transform.cpp +++ b/src/display/pixblock-transform.cpp @@ -249,6 +249,8 @@ void transform_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &tra result.a = samplex(line[0].a, line[1].a, line[2].a, line[3].a, from_x); + using Inkscape::Filters::clamp; + using Inkscape::Filters::clamp_alpha; _check_index(to, to_y * to->rs + to_x * 4, __LINE__); if (to->mode == NR_PIXBLOCK_MODE_R8G8B8A8P) { /* Make sure, none of the RGB channels exceeds 100% intensity |
