svglinenode.cxx (ddde725d) svglinenode.cxx (e2bf1e9d)
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

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

119 const basegfx::B2DHomMatrix aMatrix(readTransform(aContent, *this));
120
121 if(!aMatrix.isIdentity())
122 {
123 setTransform(&aMatrix);
124 }
125 break;
126 }
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

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

119 const basegfx::B2DHomMatrix aMatrix(readTransform(aContent, *this));
120
121 if(!aMatrix.isIdentity())
122 {
123 setTransform(&aMatrix);
124 }
125 break;
126 }
127 default:
128 {
129 break;
130 }
127 }
128 }
129
131 }
132 }
133
130 void SvgLineNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool bReferenced) const
134 void SvgLineNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool /*bReferenced*/) const
131 {
132 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
133
134 if(pStyle)
135 {
136 const basegfx::B2DPoint X(
137 getX1().isSet() ? getX1().solve(*this, xcoordinate) : 0.0,
138 getY1().isSet() ? getY1().solve(*this, ycoordinate) : 0.0);

--- 27 unchanged lines hidden ---
135 {
136 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
137
138 if(pStyle)
139 {
140 const basegfx::B2DPoint X(
141 getX1().isSet() ? getX1().solve(*this, xcoordinate) : 0.0,
142 getY1().isSet() ? getY1().solve(*this, ycoordinate) : 0.0);

--- 27 unchanged lines hidden ---