svgcirclenode.cxx (50b37974) svgcirclenode.cxx (2169cc62)
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

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

123 }
124
125 void SvgCircleNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool /*bReferenced*/) const
126 {
127 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
128
129 if(pStyle && getR().isSet())
130 {
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

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

123 }
124
125 void SvgCircleNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool /*bReferenced*/) const
126 {
127 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
128
129 if(pStyle && getR().isSet())
130 {
131 const double fR(getR().solve(*this, xcoordinate));
131 const double fR(getR().solve(*this, length));
132
133 if(fR > 0.0)
134 {
135 const basegfx::B2DPolygon aPath(
136 basegfx::tools::createPolygonFromCircle(
137 basegfx::B2DPoint(
138 getCx().isSet() ? getCx().solve(*this, xcoordinate) : 0.0,
139 getCy().isSet() ? getCy().solve(*this, ycoordinate) : 0.0),

--- 18 unchanged lines hidden ---
132
133 if(fR > 0.0)
134 {
135 const basegfx::B2DPolygon aPath(
136 basegfx::tools::createPolygonFromCircle(
137 basegfx::B2DPoint(
138 getCx().isSet() ? getCx().solve(*this, xcoordinate) : 0.0,
139 getCy().isSet() ? getCy().solve(*this, ycoordinate) : 0.0),

--- 18 unchanged lines hidden ---