Lines Matching refs:xBmp
159 void checkCanvasBitmap( const rtl::Reference<VclCanvasBitmap>& xBmp, in checkCanvasBitmap() argument
166 BitmapEx aContainedBmpEx( xBmp->getBitmapEx() ); in checkCanvasBitmap()
179 test( xBmp->getSize().Width == 200 && xBmp->getSize().Height == 200, in checkCanvasBitmap()
182 test( xBmp->hasAlpha() == aContainedBmpEx.IsTransparent(), in checkCanvasBitmap()
185 test( xBmp->getScaledBitmap( geometry::RealSize2D(500,500), sal_False ).is(), in checkCanvasBitmap()
189 …uno::Sequence<sal_Int8> aPixelData = xBmp->getData(aLayout, geometry::IntegerRectangle2D(0,0,1,1)); in checkCanvasBitmap()
209 uno::Sequence<sal_Int8> aPixelData2 = xBmp->getPixel( aLayout, geometry::IntegerPoint2D(0,0) ); in checkCanvasBitmap()
214 aPixelData = xBmp->getData(aLayout, geometry::IntegerRectangle2D(0,0,200,1)); in checkCanvasBitmap()
223 uno::Sequence< rendering::RGBColor > aRGBColors = xBmp->convertIntegerToRGB( aPixelData ); in checkCanvasBitmap()
224 uno::Sequence< rendering::ARGBColor > aARGBColors = xBmp->convertIntegerToARGB( aPixelData ); in checkCanvasBitmap()
260 uno::Reference<rendering::XBitmapPalette> xPal = xBmp->getPalette(); in checkCanvasBitmap()
279 const uno::Sequence<sal_Int8> aComponentTags( xBmp->getComponentTags() ); in checkCanvasBitmap()
294 aPixel3 = xBmp->convertIntegerFromARGB( aARGBColor ); in checkCanvasBitmap()
295 aPixel4 = xBmp->getPixel( aLayout, geometry::IntegerPoint2D(5,0) ); in checkCanvasBitmap()
301 aPixel3 = xBmp->convertIntegerFromRGB( aRGBColor ); in checkCanvasBitmap()
310 void checkBitmapImport( const rtl::Reference<VclCanvasBitmap>& xBmp, in checkBitmapImport() argument
317 BitmapEx aContainedBmpEx( xBmp->getBitmapEx() ); in checkBitmapImport()
330 test( xBmp->getSize().Width == 200 && xBmp->getSize().Height == 200, in checkBitmapImport()
333 test( xBmp->hasAlpha() == aContainedBmpEx.IsTransparent(), in checkBitmapImport()
336 test( xBmp->getScaledBitmap( geometry::RealSize2D(500,500), sal_False ).is(), in checkBitmapImport()
340 …uno::Sequence<sal_Int8> aPixelData = xBmp->getData(aLayout, geometry::IntegerRectangle2D(0,0,1,1)); in checkBitmapImport()
360 uno::Sequence<sal_Int8> aPixelData2 = xBmp->getPixel( aLayout, geometry::IntegerPoint2D(0,0) ); in checkBitmapImport()
365 aPixelData = xBmp->getData(aLayout, geometry::IntegerRectangle2D(0,0,200,1)); in checkBitmapImport()
374 uno::Sequence< rendering::RGBColor > aRGBColors = xBmp->convertIntegerToRGB( aPixelData ); in checkBitmapImport()
375 uno::Sequence< rendering::ARGBColor > aARGBColors = xBmp->convertIntegerToARGB( aPixelData ); in checkBitmapImport()
411 uno::Reference<rendering::XBitmapPalette> xPal = xBmp->getPalette(); in checkBitmapImport()
430 const uno::Sequence<sal_Int8> aComponentTags( xBmp->getComponentTags() ); in checkBitmapImport()
445 aPixel3 = xBmp->convertIntegerFromARGB( aARGBColor ); in checkBitmapImport()
446 aPixel4 = xBmp->getPixel( aLayout, geometry::IntegerPoint2D(5,0) ); in checkBitmapImport()
452 aPixel3 = xBmp->convertIntegerFromRGB( aRGBColor ); in checkBitmapImport()
910 rtl::Reference<VclCanvasBitmap> xBmp( new VclCanvasBitmap(aBitmap) ); in Paint() local
912 checkCanvasBitmap( xBmp, "single bitmap", nDepth ); in Paint()
929 xBmp.set( new VclCanvasBitmap(BitmapEx(aBitmap,aMask)) ); in Paint()
931 checkCanvasBitmap( xBmp, "masked bitmap", nDepth ); in Paint()
948 xBmp.set( new VclCanvasBitmap(BitmapEx(aBitmap,aAlpha)) ); in Paint()
950 checkCanvasBitmap( xBmp, "alpha bitmap", nDepth ); in Paint()