viewobjectcontactofe3dscene.cxx (025b0597) viewobjectcontactofe3dscene.cxx (49c58f9b)
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

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

105 const drawinglayer::primitive2d::Primitive2DSequence xGlue(GetViewContact().createGluePointPrimitive2DSequence());
106
107 if(xGlue.hasElements())
108 {
109 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(xRetval, xGlue);
110 }
111 }
112
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

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

105 const drawinglayer::primitive2d::Primitive2DSequence xGlue(GetViewContact().createGluePointPrimitive2DSequence());
106
107 if(xGlue.hasElements())
108 {
109 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(xRetval, xGlue);
110 }
111 }
112
113 // handle ghosted
114 if(isPrimitiveGhosted(rDisplayInfo))
115 {
116 const ::basegfx::BColor aRGBWhite(1.0, 1.0, 1.0);
117 const ::basegfx::BColorModifier aBColorModifier(aRGBWhite, 0.5, ::basegfx::BCOLORMODIFYMODE_INTERPOLATE);
118 const drawinglayer::primitive2d::Primitive2DReference xReference(new drawinglayer::primitive2d::ModifiedColorPrimitive2D(xRetval, aBColorModifier));
113 // handle ghosted
114 if(isPrimitiveGhosted(rDisplayInfo))
115 {
116 const ::basegfx::BColor aRGBWhite(1.0, 1.0, 1.0);
117 const ::basegfx::BColorModifierSharedPtr aBColorModifier(
118 new basegfx::BColorModifier_interpolate(
119 aRGBWhite,
120 0.5));
121 const drawinglayer::primitive2d::Primitive2DReference xReference(
122 new drawinglayer::primitive2d::ModifiedColorPrimitive2D(
123 xRetval,
124 aBColorModifier));
119
120 xRetval = drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1);
125
126 xRetval = drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1);
121 }
122 }
127 }
128 }
123
124 if(bIsActiveVC)
125 {
126 // set back, display ghosted again
127 const_cast< DisplayInfo& >(rDisplayInfo).SetGhostedDrawMode();
128 }
129
130 return xRetval;

--- 17 unchanged lines hidden ---
129
130 if(bIsActiveVC)
131 {
132 // set back, display ghosted again
133 const_cast< DisplayInfo& >(rDisplayInfo).SetGhostedDrawMode();
134 }
135
136 return xRetval;

--- 17 unchanged lines hidden ---