summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-24 11:58:36 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-24 15:43:22 +0100
commit9638206638f90809c57143cb7ac0ea9b871340b9 (patch)
tree2d04533ff664f375a77e7da853ad3bebb4c47b98 /chart2/source/view/axes
parentc519f73674f540fbc02be0fe7b73b3b194da558e (diff)
Remove NOTYET directive.
Diffstat (limited to 'chart2/source/view/axes')
-rw-r--r--chart2/source/view/axes/VPolarGrid.cxx60
-rw-r--r--chart2/source/view/axes/VPolarGrid.hxx6
2 files changed, 0 insertions, 66 deletions
diff --git a/chart2/source/view/axes/VPolarGrid.cxx b/chart2/source/view/axes/VPolarGrid.cxx
index a5acdb0a1963..f9ae00f779a1 100644
--- a/chart2/source/view/axes/VPolarGrid.cxx
+++ b/chart2/source/view/axes/VPolarGrid.cxx
@@ -114,66 +114,6 @@ void VPolarGrid::createLinePointSequence_ForAngleAxis(
else
rPoints[0].realloc(0);
}
-#ifdef NOTYET
-void VPolarGrid::create2DAngleGrid( const Reference< drawing::XShapes >& xLogicTarget
- , ::std::vector< ::std::vector< TickInfo > >& /* rRadiusTickInfos */
- , ::std::vector< ::std::vector< TickInfo > >& rAngleTickInfos
- , const ::std::vector<VLineProperties>& rLinePropertiesList )
-{
- Reference< drawing::XShapes > xMainTarget(
- this->createGroupShape( xLogicTarget, m_aCID ) );
-
- const ExplicitScaleData& rAngleScale = m_pPosHelper->getScales()[0];
- Reference< XScaling > xInverseScaling( NULL );
- if( rAngleScale.Scaling.is() )
- xInverseScaling = rAngleScale.Scaling->getInverseScaling();
-
- double fLogicInnerRadius = m_pPosHelper->getInnerLogicRadius();
- double fLogicOuterRadius = m_pPosHelper->getOuterLogicRadius();
- double fLogicZ = -0.5;//as defined
-
- sal_Int32 nLinePropertiesCount = rLinePropertiesList.size();
- ::std::vector< ::std::vector< TickInfo > >::iterator aDepthIter = rAngleTickInfos.begin();
- sal_Int32 nDepth=0;
- /*
- //no subgrids so far for polar angle grid (need different radii)
- const ::std::vector< ::std::vector< TickInfo > >::const_iterator aDepthEnd = rAngleTickInfos.end();
- for( ; aDepthIter != aDepthEnd && nDepth < nLinePropertiesCount
- ; aDepthIter++, nDepth++ )
- */
- if(nLinePropertiesCount)
- {
- //create axis main lines
- drawing::PointSequenceSequence aAllPoints;
- ::std::vector< TickInfo >::iterator aTickIter = (*aDepthIter).begin();
- const ::std::vector< TickInfo >::const_iterator aTickEnd = (*aDepthIter).end();
- for( ; aTickIter != aTickEnd; aTickIter++ )
- {
- TickInfo& rTickInfo = *aTickIter;
- if( !rTickInfo.bPaintIt )
- continue;
-
- rTickInfo.updateUnscaledValue( xInverseScaling );
- double fLogicAngle = rTickInfo.fUnscaledTickValue;
-
- drawing::PointSequenceSequence aPoints(1);
- aPoints[0].realloc(2);
- drawing::Position3D aScenePositionStart( m_pPosHelper->transformAngleRadiusToScene( fLogicAngle, fLogicInnerRadius, fLogicZ ) );
- drawing::Position3D aScenePositionEnd( m_pPosHelper->transformAngleRadiusToScene( fLogicAngle, fLogicOuterRadius, fLogicZ ) );
- aPoints[0][0].X = static_cast<sal_Int32>(aScenePositionStart.PositionX);
- aPoints[0][0].Y = static_cast<sal_Int32>(aScenePositionStart.PositionY);
- aPoints[0][1].X = static_cast<sal_Int32>(aScenePositionEnd.PositionX);
- aPoints[0][1].Y = static_cast<sal_Int32>(aScenePositionEnd.PositionY);
- appendPointSequence( aAllPoints, aPoints );
- }
-
- Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D(
- xMainTarget, aAllPoints, &rLinePropertiesList[nDepth] );
- //because of this name this line will be used for marking
- m_pShapeFactory->setShapeName( xShape, C2U("MarkHandles") );
- }
-}
-#endif
void VPolarGrid::create2DRadiusGrid( const Reference< drawing::XShapes >& xLogicTarget
, ::std::vector< ::std::vector< TickInfo > >& rRadiusTickInfos
diff --git a/chart2/source/view/axes/VPolarGrid.hxx b/chart2/source/view/axes/VPolarGrid.hxx
index 83f4a759bad2..79050ed7da8f 100644
--- a/chart2/source/view/axes/VPolarGrid.hxx
+++ b/chart2/source/view/axes/VPolarGrid.hxx
@@ -83,12 +83,6 @@ private: //member
, ::std::vector< ::std::vector< TickInfo > >& rRadiusTickInfos
, ::std::vector< ::std::vector< TickInfo > >& rAngleTickInfos
, const ::std::vector<VLineProperties>& rLinePropertiesList );
-#if NOTYET
- void create2DAngleGrid( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& xLogicTarget
- , ::std::vector< ::std::vector< TickInfo > >& rRadiusTickInfos
- , ::std::vector< ::std::vector< TickInfo > >& rAngleTickInfos
- , const ::std::vector<VLineProperties>& rLinePropertiesList );
-#endif
};
//.............................................................................