svgmasknode.cxx (79aad27f) svgmasknode.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

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

194
195 // append to current target
196 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(rTarget, aNewTarget);
197 }
198 }
199
200 void SvgMaskNode::apply(drawinglayer::primitive2d::Primitive2DSequence& rTarget) const
201 {
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

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

194
195 // append to current target
196 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(rTarget, aNewTarget);
197 }
198 }
199
200 void SvgMaskNode::apply(drawinglayer::primitive2d::Primitive2DSequence& rTarget) const
201 {
202 if(rTarget.hasElements())
202 if(rTarget.hasElements() && Display_none != getDisplay())
203 {
204 drawinglayer::primitive2d::Primitive2DSequence aMaskTarget;
205
206 // get mask definition as primitives
207 decomposeSvgNode(aMaskTarget, true);
208
209 if(aMaskTarget.hasElements())
210 {

--- 108 unchanged lines hidden ---
203 {
204 drawinglayer::primitive2d::Primitive2DSequence aMaskTarget;
205
206 // get mask definition as primitives
207 decomposeSvgNode(aMaskTarget, true);
208
209 if(aMaskTarget.hasElements())
210 {

--- 108 unchanged lines hidden ---