svgpatternnode.cxx (50b37974) svgpatternnode.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

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

270 rfY = (rfY - rGeoRange.getMinY()) / fTargetHeight;
271 }
272 }
273 }
274 }
275
276 const drawinglayer::primitive2d::Primitive2DSequence& SvgPatternNode::getPatternPrimitives() const
277 {
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

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

270 rfY = (rfY - rGeoRange.getMinY()) / fTargetHeight;
271 }
272 }
273 }
274 }
275
276 const drawinglayer::primitive2d::Primitive2DSequence& SvgPatternNode::getPatternPrimitives() const
277 {
278 if(!aPrimitives.hasElements())
278 if(!aPrimitives.hasElements() && Display_none != getDisplay())
279 {
280 decomposeSvgNode(const_cast< SvgPatternNode* >(this)->aPrimitives, true);
281 }
282
283 if(!aPrimitives.hasElements() && maXLink.getLength())
284 {
285 const_cast< SvgPatternNode* >(this)->tryToFindLink();
286

--- 179 unchanged lines hidden ---
279 {
280 decomposeSvgNode(const_cast< SvgPatternNode* >(this)->aPrimitives, true);
281 }
282
283 if(!aPrimitives.hasElements() && maXLink.getLength())
284 {
285 const_cast< SvgPatternNode* >(this)->tryToFindLink();
286

--- 179 unchanged lines hidden ---