Lines Matching refs:_nGridRows
554 _nGridRows = 0; in IcnGridMap_Impl()
568 sal_uInt16 nNewGridRows = _nGridRows; in Expand()
577 memcpy( pNewGridMap, _pGridMap, _nGridRows * _nGridCols * sizeof(sal_Bool) ); in Expand()
580 _nGridRows = nNewGridRows; in Expand()
590 GetMinMapSize( _nGridCols, _nGridRows ); in Create_Impl()
592 _nGridRows += 50; // avoid resize of gridmap too often in Create_Impl()
596 _pGridMap = new sal_Bool[ _nGridRows * _nGridCols]; in Create_Impl()
597 memset( (void*)_pGridMap, 0, _nGridRows * _nGridCols ); in Create_Impl()
652 return nGridY + ( nGridX * _nGridRows ); in GetGrid()
671 if( nY >= _nGridRows ) in GetGrid()
673 nY = _nGridRows - 1; in GetGrid()
679 DBG_ASSERT(nId <(sal_uLong)(_nGridCols*_nGridRows),"GetGrid failed"); in GetGrid()
704 const sal_uLong nCount = (sal_uInt16)(_nGridCols * _nGridRows); in GetUnoccupiedGrid()
787 _nGridRows = 0; in Clear()
812 else if( nRows >= _nGridRows ) in OutputSizeChanged()
817 if( nRows != _nGridRows ) in OutputSizeChanged()
838 rGridX = (sal_uInt16)(nId / _nGridRows); in GetGridCoord()
839 rGridY = (sal_uInt16)(nId % _nGridRows); in GetGridCoord()