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

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

256 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx);
257 }
258 }
259 }
260 else if(maXLink.getLength())
261 {
262 const SvgNode* mpXLink = getDocument().findSvgNodeById(maXLink);
263
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

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

256 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx);
257 }
258 }
259 }
260 else if(maXLink.getLength())
261 {
262 const SvgNode* mpXLink = getDocument().findSvgNodeById(maXLink);
263
264 if(mpXLink)
264 if(mpXLink && Display_none != mpXLink->getDisplay())
265 {
266 mpXLink->decomposeSvgNode(aNewTarget, true);
267
268 if(aNewTarget.hasElements())
269 {
270 aViewBox = drawinglayer::primitive2d::getB2DRangeFromPrimitive2DSequence(
271 aNewTarget,
272 drawinglayer::geometry::ViewInformation2D());

--- 84 unchanged lines hidden ---
265 {
266 mpXLink->decomposeSvgNode(aNewTarget, true);
267
268 if(aNewTarget.hasElements())
269 {
270 aViewBox = drawinglayer::primitive2d::getB2DRangeFromPrimitive2DSequence(
271 aNewTarget,
272 drawinglayer::geometry::ViewInformation2D());

--- 84 unchanged lines hidden ---