Lines Matching refs:nDepth
150 void EquidistantTickFactory::addSubTicks( sal_Int32 nDepth, uno::Sequence< uno::Sequence< double > … in addSubTicks() argument
152 EquidistantTickIter aIter( rParentTicks, m_rIncrement, 0, nDepth-1 ); in addSubTicks()
161 sal_Int32 nMaxSubTickCount = this->getMaxTickCount( nDepth ); in addSubTicks()
167 sal_Int32 nIntervalCount = m_rIncrement.SubIncrements[nDepth-1].IntervalCount; in addSubTicks()
174 pValue = this->getMinorTick( nPartTick, nDepth in addSubTicks()
185 rParentTicks[nDepth] = aSubTicks; in addSubTicks()
186 if(static_cast<sal_Int32>(m_rIncrement.SubIncrements.size())>nDepth) in addSubTicks()
187 addSubTicks( nDepth+1, rParentTicks ); in addSubTicks()
191 sal_Int32 EquidistantTickFactory::getMaxTickCount( sal_Int32 nDepth ) const in getMaxTickCount()
197 if( nDepth >= getTickDepth() ) in getMaxTickCount()
216 for(sal_Int32 nN=0; nN<nDepth-1; nN++) in getMaxTickCount()
223 if(nDepth>0 && m_rIncrement.SubIncrements[nDepth-1].IntervalCount>1) in getMaxTickCount()
224 nTickCount = nIntervalCount * (m_rIncrement.SubIncrements[nDepth-1].IntervalCount-1); in getMaxTickCount()
251 double* EquidistantTickFactory::getMinorTick( sal_Int32 nTick, sal_Int32 nDepth in getMinorTick() argument
259 if(nDepth>static_cast<sal_Int32>(m_rIncrement.SubIncrements.size()) || nDepth<=0) in getMinorTick()
265 if(nTick>=m_rIncrement.SubIncrements[nDepth-1].IntervalCount) in getMinorTick()
269 bool bPostEquidistant = m_rIncrement.SubIncrements[nDepth-1].PostEquidistant; in getMinorTick()
280 …double fDistance = (fAdaptedNextParent - fAdaptedStartParent)/m_rIncrement.SubIncrements[nDepth-1]… in getMinorTick()
282 m_pfCurrentValues[nDepth] = fAdaptedStartParent + nTick*fDistance; in getMinorTick()
286 m_pfCurrentValues[nDepth] = m_rScale.Scaling->doScaling( m_pfCurrentValues[nDepth] ); in getMinorTick()
288 if( !isWithinOuterBorder( m_pfCurrentValues[nDepth] ) ) in getMinorTick()
291 return &m_pfCurrentValues[nDepth]; in getMinorTick()
350 sal_Int32 nDepth = 0; in getAllTicks() local
352 for( nDepth = 0; nDepth < nDepthCount; nDepth++) in getAllTicks()
358 for(sal_Int32 nN=0; nN<nDepth; nN++) in getAllTicks()
363 uno::Sequence< double >& rTicks = aAllTicks[nDepth]; in getAllTicks()
397 for( nDepth=0 ;nDepth<aAllTicks.getLength(); nDepth++ ) in getAllTicks()
399 sal_Int32 nCount = aAllTicks[nDepth].getLength(); in getAllTicks()
401 ::std::vector< TickInfo >& rTickInfoVector = rAllTickInfos[nDepth]; in getAllTicks()
407 aTickInfo.fScaledTickValue = aAllTicks[nDepth][nN]; in getAllTicks()
458 sal_Int32 nDepth = 0; in initIter() local
459 for( nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in initIter()
460 m_nTickCount += getTickCount(nDepth); in initIter()
472 for( nDepth = 1; nDepth<=m_nMaxDepth ;nDepth++ ) in initIter()
474 m_pbIntervalFinished[nDepth] = false; in initIter()
477 sal_Int32 nCount = getTickCount(nDepth); in initIter()
480 if(getTickValue(nDepth,nN) < fParentValue) in initIter()
485 m_pnPreParentCount[nDepth] = nPreParentCount; in initIter()
488 double fNextParentValue = getTickValue(nDepth,0); in initIter()
508 for(sal_Int32 nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in getStartDepth() local
510 sal_Int32 nCount = getTickCount(nDepth); in getStartDepth()
513 double fThisValue = getTickValue(nDepth,0); in getStartDepth()
516 nReturnDepth = nDepth; in getStartDepth()
540 sal_Int32 EquidistantTickIter::getIntervalCount( sal_Int32 nDepth ) in getIntervalCount() argument
542 if(nDepth>static_cast<sal_Int32>(m_rIncrement.SubIncrements.size()) || nDepth<0) in getIntervalCount()
545 if(!nDepth) in getIntervalCount()
548 return m_rIncrement.SubIncrements[nDepth-1].IntervalCount; in getIntervalCount()
577 for(sal_Int32 nDepth = 0; nDepth<=m_nMaxDepth ;nDepth++ ) in gotoFirst() local
578 m_pnPositions[nDepth] = -1; in gotoFirst()