primitivetools2d.cxx (464702f4) | primitivetools2d.cxx (0702bc67) |
---|---|
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 --- 36 unchanged lines hidden (view full) --- 45 { 46 // conditions of last local decomposition have changed, delete 47 const_cast< DiscreteMetricDependentPrimitive2D* >(this)->setBuffered2DDecomposition(Primitive2DSequence()); 48 } 49 50 if(!getBuffered2DDecomposition().hasElements()) 51 { 52 // remember new valid DiscreteUnit | 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 --- 36 unchanged lines hidden (view full) --- 45 { 46 // conditions of last local decomposition have changed, delete 47 const_cast< DiscreteMetricDependentPrimitive2D* >(this)->setBuffered2DDecomposition(Primitive2DSequence()); 48 } 49 50 if(!getBuffered2DDecomposition().hasElements()) 51 { 52 // remember new valid DiscreteUnit |
53 const_cast< DiscreteMetricDependentPrimitive2D* >(this)->mfDiscreteUnit = fDiscreteUnit; | 53 const_cast< DiscreteMetricDependentPrimitive2D* >(this)->updateDiscreteUnit(fDiscreteUnit); |
54 } 55 56 // call base implementation 57 return BufferedDecompositionPrimitive2D::get2DDecomposition(rViewInformation); 58 } 59 } // end of namespace primitive2d 60} // end of namespace drawinglayer 61 --- 105 unchanged lines hidden --- | 54 } 55 56 // call base implementation 57 return BufferedDecompositionPrimitive2D::get2DDecomposition(rViewInformation); 58 } 59 } // end of namespace primitive2d 60} // end of namespace drawinglayer 61 --- 105 unchanged lines hidden --- |