Lines Matching refs:nWidth
73 int nX, int nY, int nWidth, int nHeight, bool /*bMirrorVert*/ ) in Create() argument
79 nWidth += nX, nX = 0; in Create()
83 if( nWidth >= (int)aLayerSize.width - nX ) in Create()
84 nWidth = (int)aLayerSize.width - nX; in Create()
87 if( (nWidth < 0) || (nHeight < 0) ) in Create()
88 nWidth = nHeight = 0; in Create()
91 mnWidth = nWidth; in Create()
485 void AquaSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight, in ConvertBitmapData() argument
514 aSrcBuf.mnWidth = aDstBuf.mnWidth = nWidth; in ConvertBitmapData()
540 sal_uInt32 nX = nWidth; in ConvertBitmapData()
749 int nX, int nY, int nWidth, int nHeight ) const in CreateWithMask() argument
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()
767 int nMaskBytesPerRow = ((nWidth + 3) & ~3); in CreateWithMask()
770 nWidth, nHeight, 8, nMaskBytesPerRow, GetSalData()->mxGraySpace, kCGImageAlphaNone ); 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()
799 const sal_uInt32 nDestBytesPerRow = nWidth << 2; in CreateColorMask()
822 sal_uInt32 x = nWidth; in CreateColorMask()
831 …xMask = CGImageCreate(nWidth, nHeight, 8, 32, nDestBytesPerRow, GetSalData()->mxRGBSpace, kCGImage… in CreateColorMask()