summaryrefslogtreecommitdiffstats
path: root/src/display/pixblock-scaler.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-02-02 21:24:36 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-02-02 21:24:36 +0000
commit53933f5fea9d07d1ba6304b88439fba257ee8c34 (patch)
tree21f94cd05346fc1236751bb1db3e0850e5aece54 /src/display/pixblock-scaler.cpp
parentTranslations. French translation minor update. (diff)
downloadinkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.tar.gz
inkscape-53933f5fea9d07d1ba6304b88439fba257ee8c34.zip
update to latest 2geom !
(bzr r10025)
Diffstat (limited to 'src/display/pixblock-scaler.cpp')
-rw-r--r--src/display/pixblock-scaler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/pixblock-scaler.cpp b/src/display/pixblock-scaler.cpp
index c9df0c833..5af5230d8 100644
--- a/src/display/pixblock-scaler.cpp
+++ b/src/display/pixblock-scaler.cpp
@@ -70,7 +70,7 @@ inline static void _check_index(NRPixBlock const * const pb, int const location,
}
static void scale_bicubic_rgba(NRPixBlock *to, NRPixBlock *from,
- Geom::Matrix const &trans)
+ Geom::Affine const &trans)
{
if (NR_PIXBLOCK_BPP(from) != 4 || NR_PIXBLOCK_BPP(to) != 4) {
g_warning("A non-32-bpp image passed to scale_bicubic_rgba: scaling aborted.");
@@ -203,7 +203,7 @@ static void scale_bicubic_rgba(NRPixBlock *to, NRPixBlock *from,
}
void scale_bicubic_alpha(NRPixBlock *to, NRPixBlock *from,
- Geom::Matrix const &trans)
+ Geom::Affine const &trans)
{
if (NR_PIXBLOCK_BPP(from) != 1 || NR_PIXBLOCK_BPP(to) != 1) {
g_warning("A non-8-bpp image passed to scale_bicubic_alpha: scaling aborted.");
@@ -275,7 +275,7 @@ void scale_bicubic_alpha(NRPixBlock *to, NRPixBlock *from,
}
}
-void scale_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans)
+void scale_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Affine const &trans)
{
if (NR_PIXBLOCK_BPP(to) == 4 && NR_PIXBLOCK_BPP(from) == 4) {
scale_bicubic_rgba(to, from, trans);