svgclippathnode.cxx (79aad27f) svgclippathnode.cxx (a275c134)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 119 unchanged lines hidden (view full) ---

128 // append to current target
129 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(rTarget, aNewTarget);
130 }
131 }
132 }
133
134 void SvgClipPathNode::apply(drawinglayer::primitive2d::Primitive2DSequence& rContent) const
135 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 119 unchanged lines hidden (view full) ---

128 // append to current target
129 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(rTarget, aNewTarget);
130 }
131 }
132 }
133
134 void SvgClipPathNode::apply(drawinglayer::primitive2d::Primitive2DSequence& rContent) const
135 {
136 if(rContent.hasElements())
136 if(rContent.hasElements() && Display_none != getDisplay())
137 {
138 const drawinglayer::geometry::ViewInformation2D aViewInformation2D;
139 drawinglayer::primitive2d::Primitive2DSequence aClipTarget;
140 basegfx::B2DPolyPolygon aClipPolyPolygon;
141
142 // get clipPath definition as primitives
143 decomposeSvgNode(aClipTarget, true);
144

--- 62 unchanged lines hidden ---
137 {
138 const drawinglayer::geometry::ViewInformation2D aViewInformation2D;
139 drawinglayer::primitive2d::Primitive2DSequence aClipTarget;
140 basegfx::B2DPolyPolygon aClipPolyPolygon;
141
142 // get clipPath definition as primitives
143 decomposeSvgNode(aClipTarget, true);
144

--- 62 unchanged lines hidden ---