From ce6f12df4a3f9969f1e42aeaa3cfdd31e0602ae6 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 2 Jan 2009 12:18:25 +0000 Subject: Move filters into their own namespace Inkscape::Filters (from NR::) (bzr r7058) --- src/display/pixblock-transform.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/display/pixblock-transform.cpp') 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 -- cgit v1.2.3