viewshape.cxx (70f497fb) | viewshape.cxx (0ca1f900) |
---|---|
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 --- 170 unchanged lines hidden (view full) --- 179 // rendering INTO it. 180 if( rDestinationCanvas != io_rCacheEntry.mpLastBitmapCanvas ) 181 { 182 io_rCacheEntry.mpLastBitmapCanvas.reset(); 183 io_rCacheEntry.mpLastBitmap.reset(); 184 } 185 } 186 | 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 --- 170 unchanged lines hidden (view full) --- 179 // rendering INTO it. 180 if( rDestinationCanvas != io_rCacheEntry.mpLastBitmapCanvas ) 181 { 182 io_rCacheEntry.mpLastBitmapCanvas.reset(); 183 io_rCacheEntry.mpLastBitmap.reset(); 184 } 185 } 186 |
187 return io_rCacheEntry.mpRenderer; | 187 return (io_rCacheEntry.mpRenderer.get() != NULL); |
188 } 189 190 bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas, 191 const GDIMetaFileSharedPtr& rMtf, 192 const ShapeAttributeLayerSharedPtr& rAttr, 193 const ::basegfx::B2DHomMatrix& rTransform, 194 const ::basegfx::B2DPolyPolygon* pClip, 195 const VectorOfDocTreeNodes& rSubsets ) const --- 699 unchanged lines hidden --- | 188 } 189 190 bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas, 191 const GDIMetaFileSharedPtr& rMtf, 192 const ShapeAttributeLayerSharedPtr& rAttr, 193 const ::basegfx::B2DHomMatrix& rTransform, 194 const ::basegfx::B2DPolyPolygon* pClip, 195 const VectorOfDocTreeNodes& rSubsets ) const --- 699 unchanged lines hidden --- |