diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-22 10:47:20 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-22 10:47:20 +0000 |
commit | 5180243038c719bdce1e1dfea88705f222c937a5 (patch) | |
tree | 291c234db57be17c8d2e25cf780ed62027c12aa4 /basegfx/source | |
parent | 501bd98834d742a0f9e413d01735b92e9298b5c9 (diff) |
INTEGRATION: CWS thbpp6 (1.14.6); FILE MERGED
2007/01/01 22:47:42 thb 1.14.6.1: #72417# Taking the special case 180 degree rotation into account, when short-circuiting decomposition
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/matrix/b2dhommatrix.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/basegfx/source/matrix/b2dhommatrix.cxx b/basegfx/source/matrix/b2dhommatrix.cxx index ede62aa5695d..e00a768f9e8c 100644 --- a/basegfx/source/matrix/b2dhommatrix.cxx +++ b/basegfx/source/matrix/b2dhommatrix.cxx @@ -4,9 +4,9 @@ * * $RCSfile: b2dhommatrix.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: ihi $ $Date: 2006-11-14 14:06:44 $ + * last change: $Author: obo $ $Date: 2007-01-22 11:47:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -362,7 +362,10 @@ namespace basegfx return false; // test for rotation and shear - if(fTools::equalZero(get(0, 1)) && fTools::equalZero(get(1, 0))) + if(fTools::equalZero(get(0, 1)) + && fTools::equalZero(get(1, 0)) + && fTools::moreOrEqual(get(0,0), 0.0) + && fTools::moreOrEqual(get(1,1), 0.0)) { // no rotation and shear, direct value extraction rRotate = rShearX = 0.0; |