svgpatternnode.cxx (a275c134) svgpatternnode.cxx (e92bb418)
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

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

288 {
289 return mpXLink->getPatternPrimitives();
290 }
291 }
292
293 return aPrimitives;
294 }
295
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

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

288 {
289 return mpXLink->getPatternPrimitives();
290 }
291 }
292
293 return aPrimitives;
294 }
295
296 const basegfx::B2DRange* SvgPatternNode::getCurrentViewPort() const
296 const basegfx::B2DRange SvgPatternNode::getCurrentViewPort() const
297 {
298 if(getViewBox())
299 {
297 {
298 if(getViewBox())
299 {
300 return getViewBox();
300 return *(getViewBox());
301 }
302 else
303 {
304 return SvgNode::getCurrentViewPort();
305 }
306 }
307
308 const basegfx::B2DRange* SvgPatternNode::getViewBox() const

--- 157 unchanged lines hidden ---
301 }
302 else
303 {
304 return SvgNode::getCurrentViewPort();
305 }
306 }
307
308 const basegfx::B2DRange* SvgPatternNode::getViewBox() const

--- 157 unchanged lines hidden ---