Home
last modified time | relevance | path

Searched refs:nScanSize (Results 1 – 4 of 4) sorted by relevance

/aoo42x/main/filter/source/graphicfilter/icgm/
H A Dbitmap.cxx302 sal_uInt32 nScanSize; in ImplGetDimensions() local
303 nScanSize = rDesc.mnScanSize; in ImplGetDimensions()
304 …if ( ( nScanSize * rDesc.mnY + nHeaderSize ) != mpCGM->mnElementSize ) // try a scansize without d… in ImplGetDimensions()
306 nScanSize = ( rDesc.mnScanSize + 1 ) & ~1; in ImplGetDimensions()
307 …if ( ( nScanSize * rDesc.mnY + nHeaderSize ) != mpCGM->mnElementSize ) // then we'll try word alig… in ImplGetDimensions()
309 nScanSize = ( rDesc.mnScanSize + 3 ) & ~3; in ImplGetDimensions()
310 …if ( ( nScanSize * rDesc.mnY + nHeaderSize ) != mpCGM->mnElementSize ) // and last we'll try dword… in ImplGetDimensions()
313 … if ( ( nScanSize * ( rDesc.mnY - 1 ) + rDesc.mnScanSize + nHeaderSize ) != mpCGM->mnElementSize ) in ImplGetDimensions()
315 nScanSize = ( rDesc.mnScanSize + 3 ) & ~3; in ImplGetDimensions()
316 … if ( ( nScanSize * ( rDesc.mnY - 1 ) + rDesc.mnScanSize + nHeaderSize ) != mpCGM->mnElementSize ) in ImplGetDimensions()
[all …]
/aoo42x/main/vcl/source/gdi/
H A Dbmpacc.cxx200 const sal_uInt32 nWidth = Width(), nHeight = Height(), nScanSize = GetScanlineSize(); in ImplZeroInitUnusedBits() local
202 if( nWidth && nHeight && nScanSize && GetBuffer() ) in ImplZeroInitUnusedBits()
268 if( nScanSize % 4 || !bMsb ) in ImplZeroInitUnusedBits()
270 DBG_ASSERT( 8*nScanSize >= nBits, in ImplZeroInitUnusedBits()
272 const sal_uInt32 nLeftOverBits = 8*sizeof(sal_uInt8)*nScanSize - nBits; in ImplZeroInitUnusedBits()
283 sal_uInt8* pLastBytes = (sal_uInt8*)GetBuffer() + ( nScanSize - nBytes ); in ImplZeroInitUnusedBits()
284 for( sal_uInt32 i = 0; i < nHeight; i++, pLastBytes += nScanSize ) in ImplZeroInitUnusedBits()
294 sal_uInt32 nMask = 0xffffffff << ( ( nScanSize << 3 ) - nBits ); in ImplZeroInitUnusedBits()
295 sal_uInt8* pLast4Bytes = (sal_uInt8*) GetBuffer() + ( nScanSize - 4 ); in ImplZeroInitUnusedBits()
300 for( sal_uInt32 i = 0; i < nHeight; i++, pLast4Bytes += nScanSize ) in ImplZeroInitUnusedBits()
H A Dbitmap.cxx687 const long nScanSize = pAcc->GetScanlineSize(); in Mirror() local
688 sal_uInt8* pBuffer = new sal_uInt8[ nScanSize ]; in Mirror()
695 memcpy( pBuffer, pAcc->GetScanline( nY ), nScanSize ); in Mirror()
696 memcpy( pAcc->GetScanline( nY ), pAcc->GetScanline( nOther ), nScanSize ); in Mirror()
697 memcpy( pAcc->GetScanline( nOther ), pBuffer, nScanSize ); in Mirror()
/aoo42x/main/offapi/com/sun/star/awt/
H A DXImageConsumer.idl75 (m,n) is stored in the pixels array at index (n * <var>nScanSize</var>
84 [in] long nScanSize );
95 (m,n) is stored in the pixels array at index (n * <var>nScanSize</var>
104 [in] long nScanSize );

Completed in 27 milliseconds