Lines Matching refs:nX
261 inline void Set( long nY, long nX, sal_uInt8 cVal );
262 inline sal_uInt8 Get( long nY, long nX ) const;
264 inline sal_Bool IsFree( long nY, long nX ) const;
265 inline sal_Bool IsCont( long nY, long nX ) const;
266 inline sal_Bool IsDone( long nY, long nX ) const;
298 inline void ImplVectMap::Set( long nY, long nX, sal_uInt8 cVal ) in Set() argument
300 const sal_uInt8 cShift = sal::static_int_cast<sal_uInt8>(6 - ( ( nX & 3 ) << 1 )); in Set()
301 ( ( mpScan[ nY ][ nX >> 2 ] ) &= ~( 3 << cShift ) ) |= ( cVal << cShift ); in Set()
306 inline sal_uInt8 ImplVectMap::Get( long nY, long nX ) const in Get()
308 …return sal::static_int_cast<sal_uInt8>( ( ( mpScan[ nY ][ nX >> 2 ] ) >> ( 6 - ( ( nX & 3 ) << 1 )… in Get()
313 inline sal_Bool ImplVectMap::IsFree( long nY, long nX ) const in IsFree()
315 return( VECT_FREE_INDEX == Get( nY, nX ) ); in IsFree()
320 inline sal_Bool ImplVectMap::IsCont( long nY, long nX ) const in IsCont()
322 return( VECT_CONT_INDEX == Get( nY, nX ) ); in IsCont()
327 inline sal_Bool ImplVectMap::IsDone( long nY, long nX ) const in IsDone()
329 return( VECT_DONE_INDEX == Get( nY, nX ) ); in IsDone()
682 const long nX = BACK_MAP( rPt.X() ); in ImplPostProcess() local
685 if( nX != pLast->X() || nY != pLast->Y() ) in ImplPostProcess()
688 pLeast->X() = nX; in ImplPostProcess()
770 for( long nX = 0L; nX < nWidth; nX++ ) in ImplVectorize() local
771 pColorSet[ pRAcc->GetPixel( nY, nX ).GetIndex() ].mbSet = 1; in ImplVectorize()
987 long nX, nY, nTmpX, nTmpY; in ImplExpand() local
991 for( nX = 0L; nX < nOldWidth; nX++ ) in ImplExpand()
992 VECT_MAP( pMapIn, pMapOut, nX ); in ImplExpand()
996 for( nX = 0L; nX < nOldWidth; ) in ImplExpand()
998 if( pRAcc->GetPixel( nY, nX ) == aTest ) in ImplExpand()
1000 nTmpX = pMapIn[ nX++ ]; in ImplExpand()
1008 while( nX < nOldWidth && pRAcc->GetPixel( nY, nX ) == aTest ) in ImplExpand()
1009 nX++; in ImplExpand()
1011 nTmpX = pMapOut[ nX - 1L ]; in ImplExpand()
1020 nX++; in ImplExpand()
1027 for( nX = 0L, nTmpX = 5L; nX < nOldWidth; nX++, nTmpX += 4L ) in ImplExpand()
1031 if( pRAcc->GetPixel( nY, nX ) == aTest ) in ImplExpand()
1041 while( nY < nOldHeight && pRAcc->GetPixel( nY, nX ) == aTest ) in ImplExpand()
1073 long nX = 0L; in ImplCalculate() local
1076 while( nX < nWidth ) in ImplCalculate()
1079 while( ( nX < nWidth ) && pMap->IsFree( nY, nX ) ) in ImplCalculate()
1080 nX++; in ImplCalculate()
1082 if( nX == nWidth ) in ImplCalculate()
1085 if( pMap->IsCont( nY, nX ) ) in ImplCalculate()
1089 const Point aStartPt( nX++, nY ); in ImplCalculate()
1116 while( pMap->IsCont( nY, nX ) ) in ImplCalculate()
1117 nX++; in ImplCalculate()
1122 const long nStartSegX = nX++; in ImplCalculate()
1124 while( pMap->IsDone( nY, nX ) ) in ImplCalculate()
1125 nX++; in ImplCalculate()
1127 …if( ( ( nX - nStartSegX ) == 1L ) || ( ImplIsUp( pMap, nY, nStartSegX ) != ImplIsUp( pMap, nY, nX … in ImplCalculate()
1190 sal_Bool ImplVectorizer::ImplIsUp( ImplVectMap* pMap, long nY, long nX ) const in ImplIsUp()
1192 if( pMap->IsDone( nY - 1L, nX ) ) in ImplIsUp()
1194 else if( pMap->IsDone( nY + 1L, nX ) ) in ImplIsUp()
1196 else if( pMap->IsDone( nY - 1L, nX - 1L ) || pMap->IsDone( nY - 1L, nX + 1L ) ) in ImplIsUp()