Commit 5a716d23 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

backport commit #8498b1b0 from git/master to KDE/4.14 branch

parent 1af63842
......@@ -65,9 +65,9 @@ namespace KExiv2Iface
(I did not proof that mathematically, but empirically)
static const RotationMatrix identity; //( 1, 0, 0, 1)
static const RotationMatrix rotate90; //( 0, -1, 1, 0)
static const RotationMatrix rotate90; //( 0, 1, -1, 0)
static const RotationMatrix rotate180; //(-1, 0, 0, -1)
static const RotationMatrix rotate270; //( 0, 1, -1, 0)
static const RotationMatrix rotate270; //( 0, -1, 1, 0)
static const RotationMatrix flipHorizontal; //(-1, 0, 0, 1)
static const RotationMatrix flipVertical; //( 1, 0, 0, -1)
static const RotationMatrix rotate90flipHorizontal; //( 0, 1, 1, 0), first rotate, then flip
......@@ -79,9 +79,9 @@ namespace Matrix
{
static const RotationMatrix identity ( 1, 0, 0, 1);
static const RotationMatrix rotate90 ( 0, -1, 1, 0);
static const RotationMatrix rotate90 ( 0, 1, -1, 0);
static const RotationMatrix rotate180 (-1, 0, 0, -1);
static const RotationMatrix rotate270 ( 0, 1, -1, 0);
static const RotationMatrix rotate270 ( 0, -1, 1, 0);
static const RotationMatrix flipHorizontal (-1, 0, 0, 1);
static const RotationMatrix flipVertical ( 1, 0, 0, -1);
static const RotationMatrix rotate90flipHorizontal ( 0, 1, 1, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment