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

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

191 if(!aPrimitives.hasElements() && Display_none != getDisplay())
192 {
193 decomposeSvgNode(const_cast< SvgMarkerNode* >(this)->aPrimitives, true);
194 }
195
196 return aPrimitives;
197 }
198
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

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

191 if(!aPrimitives.hasElements() && Display_none != getDisplay())
192 {
193 decomposeSvgNode(const_cast< SvgMarkerNode* >(this)->aPrimitives, true);
194 }
195
196 return aPrimitives;
197 }
198
199 const basegfx::B2DRange* SvgMarkerNode::getCurrentViewPort() const
199 const basegfx::B2DRange SvgMarkerNode::getCurrentViewPort() const
200 {
201 if(getViewBox())
202 {
200 {
201 if(getViewBox())
202 {
203 return getViewBox();
203 return *(getViewBox());
204 }
205 else
206 {
207 return SvgNode::getCurrentViewPort();
208 }
209 }
210
211 } // end of namespace svgreader
212} // end of namespace svgio
213
214//////////////////////////////////////////////////////////////////////////////
215// eof
204 }
205 else
206 {
207 return SvgNode::getCurrentViewPort();
208 }
209 }
210
211 } // end of namespace svgreader
212} // end of namespace svgio
213
214//////////////////////////////////////////////////////////////////////////////
215// eof