Kaydet (Commit) 96a1bdf8 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS aw003 (1.6.198); FILE MERGED

2003/10/07 12:17:44 aw 1.6.198.4: #111097#
2003/07/25 16:31:13 aw 1.6.198.3: #110094#
Changed Paint() to DoPaintObject() for identifying reasons
2003/07/24 14:38:08 aw 1.6.198.2: #110094# Adaptions for DrawingLayer changes
2003/06/30 13:29:19 aw 1.6.198.1: #110094#
üst 2161789e
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: polysc3d.cxx,v $ * $RCSfile: polysc3d.cxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: aw $ $Date: 2002-08-02 12:56:26 $ * last change: $Author: rt $ $Date: 2003-11-24 16:37:36 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -206,27 +206,31 @@ void E3dPolyScene::TakeContour3D(XPolyPolygon& rPoly) ...@@ -206,27 +206,31 @@ void E3dPolyScene::TakeContour3D(XPolyPolygon& rPoly)
|* |*
\************************************************************************/ \************************************************************************/
FASTBOOL E3dPolyScene::Paint(ExtOutputDevice& rOut, sal_Bool E3dPolyScene::DoPaintObject(ExtOutputDevice& rOut, const SdrPaintInfoRec& rInfoRec) const
const SdrPaintInfoRec& rInfoRec) const
{ {
FASTBOOL bOk=TRUE; FASTBOOL bOk=TRUE;
if(GetSubList() && GetSubList()->GetObjCount()) if(GetSubList() && GetSubList()->GetObjCount())
{ {
bOk = ((E3dPolyScene*)this)->LocalPaint3D(rOut, rInfoRec); bOk = ((E3dPolyScene*)this)->LocalPaint3D(rOut, rInfoRec);
} }
else // #110094#
{ // moved to DrawContact objects
// Leere Szene, zeichne genau wie leere Gruppe //else
if (!rInfoRec.bPrinter && rInfoRec.aPaintLayer.IsSet(nLayerId)) { //{
OutputDevice* pOutDev=rOut.GetOutDev(); // // Leere Szene, zeichne genau wie leere Gruppe
pOutDev->SetLineColor(Color(COL_LIGHTGRAY)); // if (!rInfoRec.bPrinter && rInfoRec.aPaintLayer.IsSet(nLayerId)) {
pOutDev->SetFillColor(); // OutputDevice* pOutDev=rOut.GetOutDev();
pOutDev->DrawRect(aOutRect); // pOutDev->SetLineColor(Color(COL_LIGHTGRAY));
} // pOutDev->SetFillColor();
} // pOutDev->DrawRect(aOutRect);
if (bOk && (rInfoRec.nPaintMode & SDRPAINTMODE_GLUEPOINTS) !=0) { // }
bOk=PaintGluePoints(rOut,rInfoRec); //}
}
// #110094#-13
//if (bOk && (rInfoRec.nPaintMode & SDRPAINTMODE_GLUEPOINTS) !=0) {
// bOk=PaintGluePoints(rOut,rInfoRec);
//}
return bOk; return bOk;
} }
...@@ -358,7 +362,7 @@ BOOL E3dPolyScene::LocalPaint3D(ExtOutputDevice& rOut, ...@@ -358,7 +362,7 @@ BOOL E3dPolyScene::LocalPaint3D(ExtOutputDevice& rOut,
const Vector3D aPos = rSet.WorldToViewCoor(pLabelObject->GetTransPosition()); const Vector3D aPos = rSet.WorldToViewCoor(pLabelObject->GetTransPosition());
Point a2DPos((long)(aPos.X() + 0.5), (long)(aPos.Y() + 0.5)); Point a2DPos((long)(aPos.X() + 0.5), (long)(aPos.Y() + 0.5));
pLabel->NbcSetAnchorPos(a2DPos); pLabel->NbcSetAnchorPos(a2DPos);
pLabel->Paint(rOut, rInfoRec); pLabel->SingleObjectPainter(rOut, rInfoRec); // #110094#-17
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment