diff options
author | Marco Cecchetti <mrcekets@gmail.com> | 2012-07-05 10:19:47 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2012-07-15 11:51:46 +0200 |
commit | c1598303e4c458795c28d41408a00d2082396113 (patch) | |
tree | 2a1742859bb5aefab7c84cd0dd61a95a37d3943c | |
parent | aaed0c6e4953941c232cb17fcedda92635ec5905 (diff) |
Bug fix: now a clip-based transition works correctly when mode=’out’ and reverse method involves flipping.
-rw-r--r-- | filter/source/svg/presentation_engine.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js index f04226390e1d..984eaef34fca 100644 --- a/filter/source/svg/presentation_engine.js +++ b/filter/source/svg/presentation_engine.js @@ -7933,8 +7933,10 @@ ClippingFunctor.prototype.perform = function( nT, nWidth, nHeight ) { var aClipPoly = this.aParametricPolyPolygon.perform( this.bForwardParameterSweep ? nT : (1 - nT) ); - if( this.bFlip ) - aClipPoly.changeOrientation(); + // Note: even if the reverse method involves flipping we don't need to + // change the clip-poly orientation because we utilize the 'nonzero' + // clip-rule. + // See: http://www.w3.org/TR/SVG11/painting.html#FillRuleProperty if( this.bSubtractPolygon ) { |