Home
last modified time | relevance | path

Searched refs:pWriteAcc (Results 1 – 5 of 5) sorted by relevance

/AOO41X/main/vcl/source/gdi/
H A Dbitmap4.cxx115 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplConvolute3() local
117 if( pWriteAcc ) in ImplConvolute3()
119 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplConvolute3()
120 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplConvolute3()
204pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) MinMax( nSumR / nDivisor, 0, 255 ), in ImplConvolute3()
230 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplConvolute3()
262 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplMedianFilter() local
264 if( pWriteAcc ) in ImplMedianFilter()
266 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplMedianFilter()
267 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplMedianFilter()
[all …]
H A Dbitmap.cxx536 BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); in Erase() local
539 if( pWriteAcc ) in Erase()
541 const sal_uLong nFormat = pWriteAcc->GetScanlineFormat(); in Erase()
550 cIndex = (sal_uInt8) pWriteAcc->GetBestPaletteIndex( rFillColor ); in Erase()
559 cIndex = (sal_uInt8) pWriteAcc->GetBestPaletteIndex( rFillColor ); in Erase()
567 cIndex = (sal_uInt8) pWriteAcc->GetBestPaletteIndex( rFillColor ); in Erase()
593 const sal_uLong nBufSize = pWriteAcc->GetScanlineSize() * pWriteAcc->Height(); in Erase()
594 memset( pWriteAcc->GetBuffer(), cIndex, nBufSize ); in Erase()
599 const Rectangle aRect( aTmpPoint, Size( pWriteAcc->Width(), pWriteAcc->Height() ) ); in Erase()
600 pWriteAcc->SetFillColor( rFillColor ); in Erase()
[all …]
H A Dbitmap3.cxx372 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplMakeMono() local
374 if( pWriteAcc ) in ImplMakeMono()
376 const BitmapColor aBlack( pWriteAcc->GetBestMatchingColor( Color( COL_BLACK ) ) ); in ImplMakeMono()
377 const BitmapColor aWhite( pWriteAcc->GetBestMatchingColor( Color( COL_WHITE ) ) ); in ImplMakeMono()
378 const long nWidth = pWriteAcc->Width(); in ImplMakeMono()
379 const long nHeight = pWriteAcc->Height(); in ImplMakeMono()
391 pWriteAcc->SetPixel( nY, nX, aWhite ); in ImplMakeMono()
394 pWriteAcc->SetPixel( nY, nX, aBlack ); in ImplMakeMono()
407 pWriteAcc->SetPixel( nY, nX, aWhite ); in ImplMakeMono()
410 pWriteAcc->SetPixel( nY, nX, aBlack ); in ImplMakeMono()
[all …]
H A Dalpha.cxx153 BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); in CopyPixel() local
155 if( pWriteAcc ) in CopyPixel()
165pWriteAcc->SetPixel( nDstY, nDstX, pReadAcc->GetPixel( nSrcY, nSrcX ) ); in CopyPixel()
167 ReleaseAccess( pWriteAcc ); in CopyPixel()
183 BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); in CopyPixel() local
185 if( pWriteAcc ) in CopyPixel()
202 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel()
208 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel()
214 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel()
220 pWriteAcc->SetPixel( nYN, nXN, pWriteAcc->GetPixel( nY, nX ) ); in CopyPixel()
[all …]
/AOO41X/main/svx/source/xoutdev/
H A D_xoutbmp.cxx394 BitmapWriteAccess* pWriteAcc = aDstBmp.AcquireWriteAccess(); in DetectEdges() local
396 if( pReadAcc && pWriteAcc ) in DetectEdges()
403 …const sal_uInt8 nWhitePalIdx(static_cast< sal_uInt8 >(pWriteAcc->GetBestPaletteIndex(Color(COL_WHI… in DetectEdges()
404 …const sal_uInt8 nBlackPalIdx(static_cast< sal_uInt8 >(pWriteAcc->GetBestPaletteIndex(Color(COL_BLA… in DetectEdges()
410 pWriteAcc->SetLineColor( Color( COL_WHITE) ); in DetectEdges()
411 pWriteAcc->DrawLine( Point(), Point( nWidth - 1L, 0L ) ); in DetectEdges()
412 pWriteAcc->DrawLine( Point( nWidth - 1L, 0L ), Point( nWidth - 1L, nHeight - 1L ) ); in DetectEdges()
413pWriteAcc->DrawLine( Point( nWidth - 1L, nHeight - 1L ), Point( 0L, nHeight - 1L ) ); in DetectEdges()
414 pWriteAcc->DrawLine( Point( 0, nHeight - 1L ), Point() ); in DetectEdges()
437 pWriteAcc->SetPixelIndex( nY1, nXDst, nWhitePalIdx ); in DetectEdges()
[all …]