| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2  * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 
| 3  * | 3  * | 
| 4  * This library is free software; you can redistribute it and/or | 4  * This library is free software; you can redistribute it and/or | 
| 5  * modify it under the terms of the GNU Library General Public | 5  * modify it under the terms of the GNU Library General Public | 
| 6  * License as published by the Free Software Foundation; either | 6  * License as published by the Free Software Foundation; either | 
| 7  * version 2 of the License, or (at your option) any later version. | 7  * version 2 of the License, or (at your option) any later version. | 
| 8  * | 8  * | 
| 9  * This library is distributed in the hope that it will be useful, | 9  * This library is distributed in the hope that it will be useful, | 
| 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 69         break; | 69         break; | 
| 70     case PathSegClosePath: | 70     case PathSegClosePath: | 
| 71         break; | 71         break; | 
| 72     case PathSegCurveToQuadraticRel: | 72     case PathSegCurveToQuadraticRel: | 
| 73     case PathSegCurveToQuadraticAbs: | 73     case PathSegCurveToQuadraticAbs: | 
| 74         segment.point1 = readFloatPoint(); | 74         segment.point1 = readFloatPoint(); | 
| 75         segment.targetPoint = readFloatPoint(); | 75         segment.targetPoint = readFloatPoint(); | 
| 76         break; | 76         break; | 
| 77     case PathSegArcRel: | 77     case PathSegArcRel: | 
| 78     case PathSegArcAbs: { | 78     case PathSegArcAbs: { | 
| 79         segment.point1 = readFloatPoint(); // rx and ry | 79         segment.arcRadii() = readFloatPoint(); | 
| 80         segment.point2.setX(readFloat()); // angle | 80         segment.setArcAngle(readFloat()); | 
| 81         segment.arcLarge = readFlag(); | 81         segment.arcLarge = readFlag(); | 
| 82         segment.arcSweep = readFlag(); | 82         segment.arcSweep = readFlag(); | 
| 83         segment.targetPoint = readFloatPoint(); | 83         segment.targetPoint = readFloatPoint(); | 
| 84         break; | 84         break; | 
| 85     } | 85     } | 
| 86     default: | 86     default: | 
| 87         ASSERT_NOT_REACHED(); | 87         ASSERT_NOT_REACHED(); | 
| 88     } | 88     } | 
| 89     return segment; | 89     return segment; | 
| 90 } | 90 } | 
| 91 | 91 | 
| 92 } | 92 } | 
| OLD | NEW | 
|---|