svggradientnode.cxx (e2bf1e9d) | svggradientnode.cxx (4374d266) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 56 maFx(), 57 maFy(), 58 maGradientUnits(objectBoundingBox), 59 maSpreadMethod(drawinglayer::primitive2d::Spread_pad), 60 mpaGradientTransform(0), 61 maXLink(), 62 mpXLink(0) 63 { | 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 --- 47 unchanged lines hidden (view full) --- 56 maFx(), 57 maFy(), 58 maGradientUnits(objectBoundingBox), 59 maSpreadMethod(drawinglayer::primitive2d::Spread_pad), 60 mpaGradientTransform(0), 61 maXLink(), 62 mpXLink(0) 63 { |
64 OSL_ENSURE(aType == SVGTokenLinearGradient || aType == SVGTokenRadialGradient, "SvgGradientNode should ony be used for Linear and Radial gradient (!)"); |
|
64 } 65 66 SvgGradientNode::~SvgGradientNode() 67 { 68 if(mpaGradientTransform) delete mpaGradientTransform; 69 // do NOT delete mpXLink, it's only referenced, not owned 70 } 71 --- 440 unchanged lines hidden --- | 65 } 66 67 SvgGradientNode::~SvgGradientNode() 68 { 69 if(mpaGradientTransform) delete mpaGradientTransform; 70 // do NOT delete mpXLink, it's only referenced, not owned 71 } 72 --- 440 unchanged lines hidden --- |