Lines Matching refs:nDepth

127     sal_Int32 nDepth = 0;  in initIter()  local
128 for( nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in initIter()
129 m_nTickCount += getTickCount(nDepth); in initIter()
141 for( nDepth = 1; nDepth<=m_nMaxDepth ;nDepth++ ) in initIter()
143 m_pbIntervalFinished[nDepth] = false; in initIter()
146 sal_Int32 nCount = getTickCount(nDepth); in initIter()
149 if(getTickValue(nDepth,nN) < fParentValue) in initIter()
154 m_pnPreParentCount[nDepth] = nPreParentCount; in initIter()
157 double fNextParentValue = getTickValue(nDepth,0); in initIter()
177 for(sal_Int32 nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in getStartDepth() local
179 sal_Int32 nCount = getTickCount(nDepth); in getStartDepth()
182 double fThisValue = getTickValue(nDepth,0); in getStartDepth()
185 nReturnDepth = nDepth; in getStartDepth()
209 sal_Int32 EquidistantTickIter::getIntervalCount( sal_Int32 nDepth ) in getIntervalCount() argument
211 if(nDepth>m_rIncrement.SubIncrements.getLength() || nDepth<0) in getIntervalCount()
214 if(!nDepth) in getIntervalCount()
217 return m_rIncrement.SubIncrements[nDepth-1].IntervalCount; in getIntervalCount()
246 for(sal_Int32 nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in gotoFirst() local
247 m_pnPositions[nDepth] = -1; in gotoFirst()
456 sal_Int32 TickmarkHelper::getMaxTickCount( sal_Int32 nDepth ) const in getMaxTickCount()
462 if( nDepth >= getTickDepth() ) in getMaxTickCount()
481 for(sal_Int32 nN=0; nN<nDepth-1; nN++) in getMaxTickCount()
488 if(nDepth>0 && m_rIncrement.SubIncrements[nDepth-1].IntervalCount>1) in getMaxTickCount()
489 nTickCount = nIntervalCount * (m_rIncrement.SubIncrements[nDepth-1].IntervalCount-1); in getMaxTickCount()
516 double* TickmarkHelper::getMinorTick( sal_Int32 nTick, sal_Int32 nDepth in getMinorTick() argument
524 if(nDepth>m_rIncrement.SubIncrements.getLength() || nDepth<=0) in getMinorTick()
530 if(nTick>=m_rIncrement.SubIncrements[nDepth-1].IntervalCount) in getMinorTick()
534 bool bPostEquidistant = m_rIncrement.SubIncrements[nDepth-1].PostEquidistant; in getMinorTick()
545 …double fDistance = (fAdaptedNextParent - fAdaptedStartParent)/m_rIncrement.SubIncrements[nDepth-1]… in getMinorTick()
547 m_pfCurrentValues[nDepth] = fAdaptedStartParent + nTick*fDistance; in getMinorTick()
551 m_pfCurrentValues[nDepth] = m_rScale.Scaling->doScaling( m_pfCurrentValues[nDepth] ); in getMinorTick()
553 if( !isWithinOuterBorder( m_pfCurrentValues[nDepth] ) ) in getMinorTick()
556 return &m_pfCurrentValues[nDepth]; in getMinorTick()
616 sal_Int32 nDepth = 0; in getAllTicks() local
618 for( nDepth = 0; nDepth < nDepthCount; nDepth++) in getAllTicks()
624 for(sal_Int32 nN=0; nN<nDepth; nN++) in getAllTicks()
629 uno::Sequence< double >& rTicks = aAllTicks[nDepth]; in getAllTicks()
663 for( nDepth=0 ;nDepth<aAllTicks.getLength(); nDepth++ ) in getAllTicks()
665 sal_Int32 nCount = aAllTicks[nDepth].getLength(); in getAllTicks()
666 rAllTickInfos[nDepth].resize( nCount ); in getAllTicks()
669 rAllTickInfos[nDepth][nN].fScaledTickValue = aAllTicks[nDepth][nN]; in getAllTicks()
680 void TickmarkHelper::addSubTicks( sal_Int32 nDepth, uno::Sequence< uno::Sequence< double > >& rPare… in addSubTicks() argument
682 EquidistantTickIter aIter( rParentTicks, m_rIncrement, 0, nDepth-1 ); in addSubTicks()
691 sal_Int32 nMaxSubTickCount = this->getMaxTickCount( nDepth ); in addSubTicks()
697 sal_Int32 nIntervalCount = m_rIncrement.SubIncrements[nDepth-1].IntervalCount; in addSubTicks()
704 pValue = this->getMinorTick( nPartTick, nDepth in addSubTicks()
715 rParentTicks[nDepth] = aSubTicks; in addSubTicks()
716 if(m_rIncrement.SubIncrements.getLength()>nDepth) in addSubTicks()
717 addSubTicks( nDepth+1, rParentTicks ); in addSubTicks()