Lines Matching refs:pMap
789 ImplVectMap* pMap = ImplExpand( pRAcc, aFindColor ); in ImplVectorize() local
793 if( pMap ) in ImplVectorize()
796 ImplCalculate( pMap, aPolyPoly, cReduce, nFlags ); in ImplVectorize()
797 delete pMap; in ImplVectorize()
849 ImplVectMap* pMap; in ImplVectorize() local
860 pMap = ImplExpand( pRAcc, COL_BLACK ); in ImplVectorize()
866 if( pMap ) in ImplVectorize()
869 ImplCalculate( pMap, rPolyPoly, 0, nFlags ); in ImplVectorize()
870 delete pMap; in ImplVectorize()
976 ImplVectMap* pMap = NULL; in ImplExpand() local
989 pMap = new ImplVectMap( nNewWidth, nNewHeight ); in ImplExpand()
1003 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1004 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1005 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1006 pMap->Set( nTmpY, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1014 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1015 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1016 pMap->Set( nTmpY++, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1017 pMap->Set( nTmpY, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1036 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1037 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1038 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1039 pMap->Set( nTmpY, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1047 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1048 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1049 pMap->Set( nTmpY, nTmpX++, VECT_CONT_INDEX ); in ImplExpand()
1050 pMap->Set( nTmpY, nTmpX, VECT_CONT_INDEX ); in ImplExpand()
1062 return pMap; in ImplExpand()
1067 void ImplVectorizer::ImplCalculate( ImplVectMap* pMap, PolyPolygon& rPolyPoly, sal_uInt8 cReduce, s… in ImplCalculate() argument
1069 const long nWidth = pMap->Width(), nHeight= pMap->Height(); in ImplCalculate()
1079 while( ( nX < nWidth ) && pMap->IsFree( nY, nX ) ) in ImplCalculate()
1085 if( pMap->IsCont( nY, nX ) ) in ImplCalculate()
1093 ImplGetChain( pMap, aStartPt, aChain ); in ImplCalculate()
1116 while( pMap->IsCont( nY, nX ) ) in ImplCalculate()
1124 while( pMap->IsDone( nY, nX ) ) in ImplCalculate()
1127 …if( ( ( nX - nStartSegX ) == 1L ) || ( ImplIsUp( pMap, nY, nStartSegX ) != ImplIsUp( pMap, nY, nX … in ImplCalculate()
1136 sal_Bool ImplVectorizer::ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain… in ImplGetChain() argument
1154 if( pMap->IsCont( nTryY, nTryX ) ) in ImplGetChain()
1157 pMap->Set( nActY = nTryY, nActX = nTryX, VECT_DONE_INDEX ); in ImplGetChain()
1171 if( pMap->IsCont( nTryY, nTryX ) ) in ImplGetChain()
1174 pMap->Set( nActY = nTryY, nActX = nTryX, VECT_DONE_INDEX ); in ImplGetChain()
1190 sal_Bool ImplVectorizer::ImplIsUp( ImplVectMap* pMap, long nY, long nX ) const in ImplIsUp() argument
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()