Lines Matching refs:nHeight
73 int nX, int nY, int nWidth, int nHeight, bool /*bMirrorVert*/ ) in Create() argument
81 nHeight += nY, nY = 0; in Create()
85 if( nHeight >= (int)aLayerSize.height - nY ) in Create()
86 nHeight = (int)aLayerSize.height - nY; in Create()
87 if( (nWidth < 0) || (nHeight < 0) ) in Create()
88 nWidth = nHeight = 0; in Create()
92 mnHeight = nHeight; in Create()
485 void AquaSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight, in ConvertBitmapData() argument
493 memcpy( pDestData, pSrcData, nHeight * nDestBytesPerRow ); in ConvertBitmapData()
515 aSrcBuf.mnHeight = aDstBuf.mnHeight = nHeight; in ConvertBitmapData()
534 sal_uInt32 nY = nHeight; in ConvertBitmapData()
749 int nX, int nY, int nWidth, int nHeight ) const in CreateWithMask()
751 CGImageRef xImage( CreateCroppedImage( nX, nY, nWidth, nHeight ) ); in CreateWithMask()
755 CGImageRef xMask = rMask.CreateCroppedImage( nX, nY, nWidth, nHeight ); in CreateWithMask()
763 const CGRect xImageRect=CGRectMake( 0, 0, nWidth, nHeight );//the rect has no offset in CreateWithMask()
768 void* pMaskMem = rtl_allocateMemory( nMaskBytesPerRow * nHeight ); in CreateWithMask()
770 nWidth, nHeight, 8, nMaskBytesPerRow, GetSalData()->mxGraySpace, kCGImageAlphaNone ); in CreateWithMask()
774 pMaskMem, nHeight * nMaskBytesPerRow, &CFRTLFree ) ); in CreateWithMask()
776 …xMask = CGImageMaskCreate( nWidth, nHeight, 8, 8, nMaskBytesPerRow, xDataProvider, pDecode, false … in CreateWithMask()
794 CGImageRef AquaSalBitmap::CreateColorMask( int nX, int nY, int nWidth, int nHeight, SalColor nMaskC… in CreateColorMask() argument
797 if( maUserBuffer.get() && (nX + nWidth <= mnWidth) && (nY + nHeight <= mnHeight) ) in CreateColorMask()
800 …sal_uInt32* pMaskBuffer = static_cast<sal_uInt32*>( rtl_allocateMemory( nHeight * nDestBytesPerRow… in CreateColorMask()
817 int y = nHeight; in CreateColorMask()
830 …CGDataProviderRef xDataProvider( CGDataProviderCreateWithData(NULL, pMaskBuffer, nHeight * nDestBy… in CreateColorMask()
831 …xMask = CGImageCreate(nWidth, nHeight, 8, 32, nDestBytesPerRow, GetSalData()->mxRGBSpace, kCGImage… in CreateColorMask()