overlaymanager.cxx (1cd65da9) overlaymanager.cxx (a7185797)
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

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

27#include <basegfx/point/b2dpoint.hxx>
28#include <basegfx/range/b2drange.hxx>
29#include <tools/gen.hxx>
30#include <vcl/salbtype.hxx>
31#include <vcl/outdev.hxx>
32#include <vcl/window.hxx>
33#include <svx/sdr/overlay/overlayobject.hxx>
34#include <basegfx/matrix/b2dhommatrix.hxx>
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

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

27#include <basegfx/point/b2dpoint.hxx>
28#include <basegfx/range/b2drange.hxx>
29#include <tools/gen.hxx>
30#include <vcl/salbtype.hxx>
31#include <vcl/outdev.hxx>
32#include <vcl/window.hxx>
33#include <svx/sdr/overlay/overlayobject.hxx>
34#include <basegfx/matrix/b2dhommatrix.hxx>
35#include <drawinglayer/processor2d/baseprocessor2d.hxx>
36#include <svx/sdr/contact/objectcontacttools.hxx>
35#include <drawinglayer/processor2d/processor2dtools.hxx>
37
38//////////////////////////////////////////////////////////////////////////////
39
40using namespace com::sun::star;
41
42//////////////////////////////////////////////////////////////////////////////
43
44namespace sdr

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

50 const sal_uInt32 nSize(maOverlayObjects.size());
51
52 if(nSize)
53 {
54 const sal_uInt16 nOriginalAA(rDestinationDevice.GetAntialiasing());
55 const bool bIsAntiAliasing(getDrawinglayerOpt().IsAntiAliasing());
56
57 // create processor
36
37//////////////////////////////////////////////////////////////////////////////
38
39using namespace com::sun::star;
40
41//////////////////////////////////////////////////////////////////////////////
42
43namespace sdr

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

49 const sal_uInt32 nSize(maOverlayObjects.size());
50
51 if(nSize)
52 {
53 const sal_uInt16 nOriginalAA(rDestinationDevice.GetAntialiasing());
54 const bool bIsAntiAliasing(getDrawinglayerOpt().IsAntiAliasing());
55
56 // create processor
58 drawinglayer::processor2d::BaseProcessor2D* pProcessor = ::sdr::contact::createBaseProcessor2DFromOutputDevice(
57 drawinglayer::processor2d::BaseProcessor2D* pProcessor = drawinglayer::processor2d::createProcessor2DFromOutputDevice(
59 rDestinationDevice,
60 getCurrentViewInformation2D());
61
62 if(pProcessor)
63 {
64 for(OverlayObjectVector::const_iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++)
65 {
66 OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)");

--- 304 unchanged lines hidden ---
58 rDestinationDevice,
59 getCurrentViewInformation2D());
60
61 if(pProcessor)
62 {
63 for(OverlayObjectVector::const_iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++)
64 {
65 OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)");

--- 304 unchanged lines hidden ---