| /AOO41X/main/vcl/source/gdi/ |
| H A D | bitmap.cxx | 636 for( long nY = 0L; nY < nHeight; nY++ ) in Invert() local 637 pAcc->SetPixel( nY, nX, pAcc->GetPixel( nY, nX ).Invert() ); in Invert() 666 for( long nY = 0L; nY < nHeight; nY++ ) in Mirror() local 670 const BitmapColor aTemp( pAcc->GetPixel( nY, nX ) ); in Mirror() 672 pAcc->SetPixel( nY, nX, pAcc->GetPixel( nY, nOther ) ); in Mirror() 673 pAcc->SetPixel( nY, nOther, aTemp ); in Mirror() 693 for( long nY = 0L, nOther = nHeight1; nY < nHeight_2; nY++, nOther-- ) in Mirror() local 695 memcpy( pBuffer, pAcc->GetScanline( nY ), nScanSize ); in Mirror() 696 memcpy( pAcc->GetScanline( nY ), pAcc->GetScanline( nOther ), nScanSize ); in Mirror() 716 for( long nY = 0L, nOtherY = nHeight - 1L; nY < nHeight_2; nY++, nOtherY-- ) in Mirror() local [all …]
|
| H A D | bitmap3.cxx | 383 for( long nY = 0L; nY < nHeight; nY++ ) in ImplMakeMono() local 387 const sal_uInt8 cIndex = pReadAcc->GetPixelIndex( nY, nX ); in ImplMakeMono() 391 pWriteAcc->SetPixel( nY, nX, aWhite ); in ImplMakeMono() 394 pWriteAcc->SetPixel( nY, nX, aBlack ); in ImplMakeMono() 400 for( long nY = 0L; nY < nHeight; nY++ ) in ImplMakeMono() local 404 if( pReadAcc->GetPixel( nY, nX ).GetLuminance() >= in ImplMakeMono() 407 pWriteAcc->SetPixel( nY, nX, aWhite ); in ImplMakeMono() 410 pWriteAcc->SetPixel( nY, nX, aBlack ); in ImplMakeMono() 460 for( long nY = 0L; nY < nHeight; nY++ ) in ImplMakeMonoDither() local 462 for( long nX = 0L, nModY = nY % 16; nX < nWidth; nX++ ) in ImplMakeMonoDither() [all …]
|
| H A D | bitmap4.cxx | 130 long nY, nX, i, nSumR, nSumG, nSumB, nMatrixVal, nTmp; in ImplConvolute3() local 135 for( nY = 0; nY < 9; nY++ ) in ImplConvolute3() 136 for( nX = nTmp = 0, nMatrixVal = pMatrix[ nY ]; nX < 256; nX++, nTmp += nMatrixVal ) in ImplConvolute3() 137 pKoeff[ nY ][ nX ] = nTmp; in ImplConvolute3() 160 for( nY = 0; nY < nHeight; ) in ImplConvolute3() 204 … pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) MinMax( nSumR / nDivisor, 0, 255 ), in ImplConvolute3() 209 if( ++nY < nHeight ) in ImplConvolute3() 219 pRowTmp3[ i ] = pReadAcc->GetColor( pRows[ nY + 2 ], pColm[ i ] ); in ImplConvolute3() 277 long nY, nX, i; in ImplMedianFilter() local 306 for( nY = 0; nY < nHeight; ) in ImplMedianFilter() [all …]
|
| H A D | bmpacc.cxx | 120 for( long nY = 0L; nY < nHeight; nY++, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate() local 121 mpScanBuf[ nY ] = pTmpLine; in ImplCreate() 125 … for( long nY = nHeight - 1; nY >= 0; nY--, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate() local 126 mpScanBuf[ nY ] = pTmpLine; in ImplCreate() 343 const sal_Int32 nY(static_cast< sal_Int32 >(fY)); in GetInterpolatedColorWithFallback() local 345 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback() 348 BitmapColor aRetval(GetColor(nY, nX)); in GetInterpolatedColorWithFallback() 352 sal_Int16 nDeltaY((fY - (nY + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback() 368 nIndY = nY + 1; in GetInterpolatedColorWithFallback() 372 nIndY = nY - 1; in GetInterpolatedColorWithFallback() [all …]
|
| H A D | pngwrite.cxx | 109 sal_uLong ImplGetFilter( sal_uLong nY, sal_uLong nXStart=0, sal_uLong nXAdd=1 ); 426 for ( sal_uLong nY = 0; nY < mnHeight; nY++ ) in ImplWriteIDAT() local 427 mpZCodec->Write( aOStm, mpDeflateInBuf, ImplGetFilter( nY ) ); in ImplWriteIDAT() 432 sal_uLong nY; in ImplWriteIDAT() local 433 … for ( nY = 0; nY < mnHeight; nY+=8 ) // pass 1 in ImplWriteIDAT() 434 mpZCodec->Write( aOStm, mpDeflateInBuf, ImplGetFilter ( nY, 0, 8 ) ); in ImplWriteIDAT() 437 … for ( nY = 0; nY < mnHeight; nY+=8 ) // pass 2 in ImplWriteIDAT() 438 mpZCodec->Write( aOStm, mpDeflateInBuf, ImplGetFilter ( nY, 4, 8 ) ); in ImplWriteIDAT() 443 for ( nY = 4; nY < mnHeight; nY+=8 ) in ImplWriteIDAT() 444 mpZCodec->Write( aOStm, mpDeflateInBuf, ImplGetFilter ( nY, 0, 4 ) ); in ImplWriteIDAT() [all …]
|
| H A D | alpha.cxx | 200 for( long nY = nSrcY, nYN = nDstY; nY <= nSrcEndY1; nY++, nYN++ ) in CopyPixel() local 202 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel() 206 for( long nY = nSrcEndY1, nYN = nDstEndY1; nY >= nSrcY; nY--, nYN-- ) in CopyPixel() local 208 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel() 212 for( long nY = nSrcY, nYN = nDstY; nY <= nSrcEndY1; nY++, nYN++ ) in CopyPixel() local 214 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel() 218 for( long nY = nSrcEndY1, nYN = nDstEndY1; nY >= nSrcY; nY--, nYN-- ) in CopyPixel() local 220 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel() 257 for( long nY = 0L; nY < nHeight; nY++ ) in Invert() local 261 aCol.SetIndex( pMap[ pAcc->GetPixel( nY, nX ).GetIndex() ] ); in Invert() [all …]
|
| H A D | impvect.cxx | 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; 283 for( long nY = 0L; nY < nHeight; pTmp += nWidthAl ) in ImplVectMap() local 284 mpScan[ nY++ ] = pTmp; in ImplVectMap() 298 inline void ImplVectMap::Set( long nY, long nX, sal_uInt8 cVal ) in Set() argument 301 ( ( mpScan[ nY ][ nX >> 2 ] ) &= ~( 3 << cShift ) ) |= ( cVal << cShift ); in Set() 306 inline sal_uInt8 ImplVectMap::Get( long nY, long nX ) const in Get() argument [all …]
|
| H A D | bmpacc3.cxx | 137 long nX, nY; in DrawLine() local 145 nY = rStart.Y(); in DrawLine() 147 if ( nEndY > nY ) in DrawLine() 149 for (; nY <= nEndY; nY++ ) in DrawLine() 150 SetPixel( nY, nX, rLineColor ); in DrawLine() 154 for (; nY >= nEndY; nY-- ) in DrawLine() 155 SetPixel( nY, nX, rLineColor ); in DrawLine() 164 nY = rStart.Y(); in DrawLine() 169 SetPixel( nY, nX, rLineColor ); in DrawLine() 174 SetPixel( nY, nX, rLineColor ); in DrawLine() [all …]
|
| H A D | dibtools.cxx | 292 long nY = rHeader.nHeight - 1L; in ImplDecodeRLE() local 317 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE() 320 rAcc.SetPixelIndex( nY, nX++, cTmp & 0x0f ); in ImplDecodeRLE() 326 rAcc.SetPixelIndex( nY, nX++, *pRLE >> 4 ); in ImplDecodeRLE() 339 rAcc.SetPixelIndex( nY, nX++, *pRLE ); in ImplDecodeRLE() 350 nY--; in ImplDecodeRLE() 358 nY -= *pRLE++; in ImplDecodeRLE() 372 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE() 375 rAcc.SetPixelIndex( nY, nX++, cTmp & 0x0f ); in ImplDecodeRLE() 379 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE() [all …]
|
| H A D | outdev6.cxx | 81 …long nY = ( rRect.Top() >= aDstRect.Top() ) ? rRect.Top() : ( rRect.Top() + ( ( aDstRect.To… in DBG_NAMEEX() local 86 const long nStartY = ImplLogicYToDevicePixel( nY ); in DBG_NAMEEX() 98 while( ( nY += nDistY ) <= nBottom ) in DBG_NAMEEX() 99 aVertBuf[ nVertCount++ ] = ImplLogicYToDevicePixel( nY ); in DBG_NAMEEX() 131 nY = aVertBuf[ i ]; in DBG_NAMEEX() 132 mpGraphics->DrawLine( nStartX, nY, nEndX, nY, this ); in DBG_NAMEEX() 501 long nX, nY; in DrawTransparent() local 520 for( nY = 0; nY < nHeight; nY++ ) in DrawTransparent() 522 Scanline pWScan = pW->GetScanline( nY ); in DrawTransparent() 523 Scanline pRScan = pR->GetScanline( nY ); in DrawTransparent() [all …]
|
| H A D | outdev2.cxx | 1522 long nY = ImplLogicYToDevicePixel( rSrcPt.Y() ); in GetBitmap() local 1528 …if ( nWidth > 0 && nHeight > 0 && nX <= (mnOutWidth + mnOutOffX) && nY <= (mnOutHeight + mnOutOff… in GetBitmap() 1530 Rectangle aRect( Point( nX, nY ), Size( nWidth, nHeight ) ); in GetBitmap() 1542 if ( nY < mnOutOffY ) in GetBitmap() 1544 nHeight -= ( mnOutOffY - nY ); in GetBitmap() 1545 nY = mnOutOffY; in GetBitmap() 1557 if ( (nHeight + nY) > (mnOutHeight + mnOutOffY) ) in GetBitmap() 1559 nHeight = mnOutOffY + mnOutHeight - nY; in GetBitmap() 1578 aPosAry.mnSrcY = nY; in GetBitmap() 1606 SalBitmap* pSalBmp = mpGraphics->GetBitmap( nX, nY, nWidth, nHeight, this ); in GetBitmap() [all …]
|
| H A D | pngread.cxx | 1185 const sal_uInt32 nY = mnYpos >> mnPreviewShift; in ImplDrawScanline() local 1206 ImplSetAlphaPixel( nY, nX, nCol, mpTransTab[ nCol ] ); in ImplDrawScanline() 1222 ImplSetPixel( nY, nX, nCol ); in ImplDrawScanline() 1238 … ImplSetAlphaPixel( nY, nX, *pTmp & 0x0f, mpTransTab[ *pTmp & 0x0f ] ); in ImplDrawScanline() 1243 … ImplSetAlphaPixel( nY, nX, ( *pTmp >> 4 ) & 0x0f, mpTransTab[ *pTmp >> 4 ] ); in ImplDrawScanline() 1275 ImplSetAlphaPixel( nY, nX, nCol, mpTransTab[ nCol ] ); in ImplDrawScanline() 1286 ImplSetPixel( nY, nX, *pTmp++ & 0x0f ); in ImplDrawScanline() 1288 ImplSetPixel( nY, nX, ( *pTmp >> 4 ) & 0x0f ); in ImplDrawScanline() 1298 ImplSetPixel( nY, nX, *pTmp >> 6 ); in ImplDrawScanline() 1302 ImplSetPixel( nY, nX, ( *pTmp >> 4 ) & 0x03 ); in ImplDrawScanline() [all …]
|
| H A D | impimage.cxx | 442 long nX, nY; in Draw() local 455 … pMapR[ nX ] = (sal_uInt8) ( ( ( nY = ( nX + cR ) >> 1 ) > 255 ) ? 255 : nY ); in Draw() 456 … pMapG[ nX ] = (sal_uInt8) ( ( ( nY = ( nX + cG ) >> 1 ) > 255 ) ? 255 : nY ); in Draw() 457 … pMapB[ nX ] = (sal_uInt8) ( ( ( nY = ( nX + cB ) >> 1 ) > 255 ) ? 255 : nY ); in Draw() 473 for( nY = 0L; nY < nH; nY++ ) in Draw() 475 Scanline pScan = pAcc->GetScanline( nY ); in Draw() 487 for( nY = 0L; nY < nH; nY++ ) in Draw() 491 aCol = pAcc->GetPixel( nY, nX ); in Draw() 495 pAcc->SetPixel( nY, nX, aCol ); in Draw() 611 for( int nY = nTop; nY < nBottom; ++nY ) in ImplUpdateDisabledBmpEx() local [all …]
|
| /AOO41X/main/filter/source/graphicfilter/ipsd/ |
| H A D | ipsd.cxx | 343 sal_uLong nX, nY; in ImplReadBody() local 348 nX = nY = 0; in ImplReadBody() 354 while ( nY < mpFileHeader->nRows ) in ImplReadBody() 371 mpWriteAcc->SetPixelIndex( nY, nX, nDat >> nBitCount-- ); in ImplReadBody() 375 nY++; in ImplReadBody() 377 if ( nY == mpFileHeader->nRows ) in ImplReadBody() 392 mpWriteAcc->SetPixelIndex( nY, nX, nDat >> nBitCount-- ); in ImplReadBody() 396 nY++; in ImplReadBody() 398 if ( nY == mpFileHeader->nRows ) in ImplReadBody() 409 while ( nY < mpFileHeader->nRows ) in ImplReadBody() [all …]
|
| /AOO41X/main/svtools/source/graphic/ |
| H A D | grfmgr2.cxx | 534 long nX, nY, nTmp, nTmpX, nTmpY; in ImplCreateOutput() local 555 for( nY = 0L, nTmpY = nH - 1L, nTmp = nH - 2L; nY < nNewH; nY++ ) in ImplCreateOutput() 557 fTmp = nY * fRevScaleY; in ImplCreateOutput() 562 … pMapFY[ nY ] = (long) ( ( fTmp - ( pMapIY[ nY ] = MinMax( (long) fTmp, 0, nTmp ) ) ) * 1048576. ); in ImplCreateOutput() 585 for( nY = 0L, nTmpY = nH - 1L, nTmp = nH - 2L; nY < nNewH; nY++ ) in ImplCreateOutput() 587 fTmp = nY * fRevScaleY; in ImplCreateOutput() 593 pMapIY[ nY ] = MinMax( (long) fTmp, 0, nTmp ); in ImplCreateOutput() 594 pMapFY[ nY ] = fTmp >= nTmp+1 ? 1048576 : 0; in ImplCreateOutput() 1033 long nX, nY, nTmpX, nTmpY, nTmpFX, nTmpFY; in ImplCreateScaled() local 1054 for( nY = nStartY, nYDst = 0L; nY <= nEndY; nY++, nYDst++ ) in ImplCreateScaled() [all …]
|
| /AOO41X/main/svtools/source/contnr/ |
| H A D | imivctl2.cxx | 89 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / nDeltaHeight ); in ImplCreate() local 93 if( nY >= nRows ) in ImplCreate() 94 nY = sal::static_int_cast< short >(nRows - 1); in ImplCreate() 101 nIns = GetSortListPos( &pRows[nY], rRect.Left(), sal_False ); in ImplCreate() 102 pRows[ nY ].Insert( pEntry, nIns ); in ImplCreate() 105 pEntry->nY = nY; in ImplCreate() 183 sal_uInt16 nY = pEntry->nY; in SearchCol() local 184 if( nY >= nTop && nY <= nBottom ) in SearchCol() 300 sal_uInt16 nY = pCtrlEntry->nY; in GoLeftRight() local 302 DBG_ASSERT(nY< nRows,"GoLeftRight:Bad column"); in GoLeftRight() [all …]
|
| /AOO41X/main/basegfx/source/polygon/ |
| H A D | b2dsvgpolypolygon.cxx | 135 double nX, nY; in importFromSvgD() local 138 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nY, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 143 nY += nLastY; in importFromSvgD() 148 nLastY = nY; in importFromSvgD() 151 aCurrPoly.append(B2DPoint(nX, nY)); in importFromSvgD() 168 double nX, nY(nLastY); in importFromSvgD() local 181 aCurrPoly.append(B2DPoint(nX, nY)); in importFromSvgD() 198 double nX(nLastX), nY; in importFromSvgD() local 200 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nY, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD() 204 nY += nLastY; in importFromSvgD() [all …]
|
| /AOO41X/main/cui/source/tabpages/ |
| H A D | tpshadow.cxx | 300 sal_Int32 nX = 0L, nY = 0L; in FillItemSet() local 305 case RP_LT: nX = nY = -nXY; break; in FillItemSet() 306 case RP_MT: nY = -nXY; break; in FillItemSet() 307 case RP_RT: nX = nXY; nY = -nXY; break; in FillItemSet() 310 case RP_LB: nX = -nXY; nY = nXY; break; in FillItemSet() 311 case RP_MB: nY = nXY; break; in FillItemSet() 312 case RP_RB: nX = nY = nXY; break; in FillItemSet() 342 SdrShadowYDistItem aYItem( nY ); in FillItemSet() 344 if ( nY != nOldY && in FillItemSet() 417 … sal_Int32 nY = ( ( const SdrShadowYDistItem& ) rAttrs.Get( SDRATTR_SHADOWYDIST ) ).GetValue(); in Reset() local [all …]
|
| /AOO41X/main/xmlsecurity/workben/ |
| H A D | signaturetest.cxx | 215 long nY = 15; in MyWin() local 217 …maTokenLine.SetPosSizePixel( TEXTFIELDSTARTX, nY, aOutputSize.Width()-2*TEXTFIELDSTARTX, FIXEDLINE… in MyWin() 221 nY += EDITHEIGHT*3/2; in MyWin() 223 …maCryptoCheckBox.SetPosSizePixel( TEXTFIELDSTARTX, nY, aOutputSize.Width()-2*TEXTFIELDSTARTX, FIXE… in MyWin() 231 nY += EDITHEIGHT; in MyWin() 233 maFixedTextTokenName.SetPosSizePixel( TEXTFIELDSTARTX, nY, TEXTFIELDWIDTH, EDITHEIGHT ); in MyWin() 237 maEditTokenName.SetPosSizePixel( TEXTFIELDSTARTX+TEXTFIELDWIDTH, nY, EDITWIDTH, EDITHEIGHT ); in MyWin() 240 nY += EDITHEIGHT*3; in MyWin() 244 …maTest1Line.SetPosSizePixel( TEXTFIELDSTARTX, nY, aOutputSize.Width()-2*TEXTFIELDSTARTX, FIXEDLINE… in MyWin() 248 nY += EDITHEIGHT*3/2; in MyWin() [all …]
|
| /AOO41X/main/vcl/inc/vcl/ |
| H A D | bmpacc.hxx | 156 inline Scanline GetScanline( long nY ) const; 170 inline BitmapColor GetPixel( long nY, long nX ) const; 171 inline BitmapColor GetColor( long nY, long nX ) const; 172 inline sal_uInt8 GetPixelIndex( long nY, long nX ) const; 173 inline sal_uInt8 GetLuminance( long nY, long nX ) const; 183 BitmapColor GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback ) const; 197 void CopyScanline( long nY, const BitmapReadAccess& rReadAcc ); 198 void CopyScanline( long nY, ConstScanline aSrcScanline, 207 inline void SetPixel( long nY, long nX, const BitmapColor& rBitmapColor ); 208 inline void SetPixelIndex( long nY, long nX, sal_uInt8 cIndex ); [all …]
|
| /AOO41X/main/filter/source/graphicfilter/itga/ |
| H A D | itga.cxx | 286 long nY, nYAdd, nX, nXAdd, nXStart; in ImplReadBody() local 288 nX = nXStart = nY = 0; in ImplReadBody() 300 nY = mpFileHeader->nImageHeight - 1; in ImplReadBody() 328 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody() 335 nY += nYAdd; in ImplReadBody() 353 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody() 360 nY += nYAdd; in ImplReadBody() 383 mpAcc->SetPixelIndex( nY, nX, nDummy ); in ImplReadBody() 390 nY += nYAdd; in ImplReadBody() 406 mpAcc->SetPixelIndex( nY, nX, nDummy ); in ImplReadBody() [all …]
|
| /AOO41X/main/oox/inc/oox/helper/ |
| H A D | containerhelper.hxx | 119 …inline bool has( size_type nX, size_type nY ) const { return (nX < this->width()) && (nY <… in has() 126 …inline iterator at( size_type nX, size_type nY ) { return maData.begin() + mnWidth * nY + nX; } in at() argument 127 …inline const_iterator at( size_type nX, size_type nY ) const { return maData.begin() + mnWidth * n… in at() 129 inline reference operator()( size_type nX, size_type nY ) { return *this->at( nX, nY ); } in operator ()() argument 130 …nline const_reference operator()( size_type nX, size_type nY ) const { return *this->at( nX, nY );… in operator ()() 142 inline iterator row_begin( size_type nY ) { return this->at( 0, nY ); } in row_begin() argument 143 inline const_iterator row_begin( size_type nY ) const { return this->at( 0, nY ); } in row_begin() 144 inline iterator row_end( size_type nY ) { return this->at( mnWidth, nY ); } in row_end() argument 145 inline const_iterator row_end( size_type nY ) const { return this->at( mnWidth, nY ); } in row_end() 147 inline reference row_front( size_type nY ) { return (*this)( 0, nY ); } in row_front() argument [all …]
|
| /AOO41X/main/vcl/unx/generic/gdi/ |
| H A D | salgdi2.cxx | 261 int &nY, in Clip() argument 272 if( int(nY + nDY) <= int(aRect.y) || nY >= int(aRect.y + aRect.height) ) in Clip() 284 if( nY < aRect.y ) in Clip() 286 nSrcY += aRect.y - nY; in Clip() 287 nDY -= aRect.y - nY; in Clip() 288 nY = aRect.y; in Clip() 290 else if( int(nY + nDY) > int(aRect.y + aRect.height) ) in Clip() 291 nDY = aRect.y + aRect.height - nY; in Clip() 298 int &nY, in Clip() argument 306 && RectangleOut == Clip( pPaintRegion_, nX, nY, nDX, nDY, nSrcX, nSrcY ) ) in Clip() [all …]
|
| /AOO41X/main/svx/source/xoutdev/ |
| H A D | _xoutbmp.cxx | 416 for( long nY = 0L, nY1 = 1L, nY2 = 2; nY < nHeight2; nY++, nY1++, nY2++ ) in DetectEdges() local 422 nSum1 = -( nSum2 = lGray = pReadAcc->GetPixelIndex( nY, nXTmp++ ) ); in DetectEdges() 423 nSum2 += ( (long) pReadAcc->GetPixelIndex( nY, nXTmp++ ) ) << 1; in DetectEdges() 424 nSum1 += ( lGray = pReadAcc->GetPixelIndex( nY, nXTmp ) ); in DetectEdges() 507 long nX, nY; in GetCountour() local 518 nY = nStartY1; in GetCountour() 521 while( nY < nEndY1 ) in GetCountour() 523 if( aBlack == pAcc->GetPixel( nY, nX ) ) in GetCountour() 525 pPoints1[ nPolyPos ] = Point( nX, nY ); in GetCountour() 526 nY = nStartY2; in GetCountour() [all …]
|
| /AOO41X/main/tools/source/generic/ |
| H A D | line.cxx | 252 long nY; in Enum() local 259 nY = maStart.Y(); in Enum() 261 if( nEndY > nY ) in Enum() 263 while( nY <= nEndY ) in Enum() 266 aEnum.Y() = nY++; in Enum() 272 while( nY >= nEndY ) in Enum() 275 aEnum.Y() = nY--; in Enum() 285 nY = maStart.Y(); in Enum() 292 aEnum.Y() = nY; in Enum() 301 aEnum.Y() = nY; in Enum() [all …]
|