/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/ |
H A D | BmpFilterTest.cxx | 36 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 51 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 69 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 84 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 100 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 116 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 132 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 148 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 164 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 180 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local [all …]
|
H A D | BackendTest.cxx | 43 Bitmap aBitmap(rBitmap); in exportImage() local 361 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithPolygon() local 371 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithLine() local 381 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithPolyline() local 391 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithPolylineB2D() local 433 Bitmap aBitmap = aOutDevTest.setupBezier(); in testDrawBezierWithPolylineB2D() local 445 Bitmap aBitmap = aOutDevTest.setupAABezier(); in testDrawBezierAAWithPolylineB2D() local 495 exportImage("08-04_mask_test.png", aBitmap); in testDrawMask() 517 Bitmap aBitmap = aOutDevTest.setupXOR(); in testDrawXor() local 519 exportImage("08-06_xor_test.png", aBitmap); in testDrawXor() [all …]
|
H A D | XpmFilterTest.cxx | 36 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 40 CPPUNIT_ASSERT_EQUAL(COL_LIGHTBLUE, aBitmap.GetPixelColor(0, 0)); in CPPUNIT_TEST_FIXTURE() 41 CPPUNIT_ASSERT_EQUAL(COL_LIGHTRED, aBitmap.GetPixelColor(2, 0)); in CPPUNIT_TEST_FIXTURE() 42 CPPUNIT_ASSERT_EQUAL(COL_YELLOW, aBitmap.GetPixelColor(0, 2)); in CPPUNIT_TEST_FIXTURE() 43 CPPUNIT_ASSERT_EQUAL(COL_LIGHTGREEN, aBitmap.GetPixelColor(2, 2)); in CPPUNIT_TEST_FIXTURE() 51 auto aBitmap = aGraphic.GetBitmapEx(); in CPPUNIT_TEST_FIXTURE() local 55 CPPUNIT_ASSERT_EQUAL(COL_LIGHTBLUE, aBitmap.GetPixelColor(0, 0)); in CPPUNIT_TEST_FIXTURE() 56 CPPUNIT_ASSERT_EQUAL(COL_LIGHTRED, aBitmap.GetPixelColor(2, 0)); in CPPUNIT_TEST_FIXTURE() 57 CPPUNIT_ASSERT_EQUAL(COL_YELLOW, aBitmap.GetPixelColor(0, 2)); in CPPUNIT_TEST_FIXTURE() 58 CPPUNIT_ASSERT_EQUAL(COL_LIGHTGREEN, aBitmap.GetPixelColor(2, 2)); in CPPUNIT_TEST_FIXTURE() [all …]
|
H A D | BitmapExTest.cxx | 37 Bitmap aBitmap(Size(3, 3), vcl::PixelFormat::N24_BPP); in testGetPixelColor24_8() local 39 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testGetPixelColor24_8() 48 BitmapEx aBitmapEx(aBitmap, aMask); in testGetPixelColor24_8() 61 Bitmap aBitmap(Size(3, 3), vcl::PixelFormat::N32_BPP); in testGetPixelColor32() local 63 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testGetPixelColor32() 67 BitmapEx aBitmapEx(aBitmap); in testGetPixelColor32() 75 Bitmap aBitmap(Size(16, 16), vcl::PixelFormat::N24_BPP); in testTransformBitmapEx() local 77 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testTransformBitmapEx() 87 BitmapEx aBitmapEx(aBitmap); in testTransformBitmapEx() 92 aBitmap = aTransformed.GetBitmap(); in testTransformBitmapEx() [all …]
|
H A D | BitmapTest.cxx | 156 aBitmap.Erase(COL_LIGHTGRAYBLUE); in testEmpty() 158 CPPUNIT_ASSERT(!aBitmap.IsEmpty()); in testEmpty() 160 aBitmap.SetEmpty(); in testEmpty() 161 CPPUNIT_ASSERT(aBitmap.IsEmpty()); in testEmpty() 285 aBitmap.Erase(COL_LIGHTGRAYBLUE); in testConvert() 372 aBitmap.Erase(COL_BLACK); in testCRC() 374 aBitmap.Invert(); in testCRC() 593 CPPUNIT_ASSERT(aBitmap.Dither()); in testDitherSize() 599 CPPUNIT_ASSERT(!aBitmap.Dither()); in testDitherSize() 604 CPPUNIT_ASSERT(!aBitmap.Dither()); in testDitherSize() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/ |
H A D | BackendTest.cxx | 29 Bitmap aBitmap(rBitmap); in exportImage() local 30 aBitmap.Scale(Size(128, 128), BmpScaleFlag::Fast); in exportImage() 52 Bitmap aBitmap = aOutDevTest.setupRectangle(false); in testDrawRectWithRectangle() local 64 Bitmap aBitmap = aOutDevTest.setupRectangle(false); in testDrawRectWithPixel() local 76 Bitmap aBitmap = aOutDevTest.setupRectangle(false); in testDrawRectWithLine() local 88 Bitmap aBitmap = aOutDevTest.setupRectangle(false); in testDrawRectWithPolygon() local 100 Bitmap aBitmap = aOutDevTest.setupRectangle(false); in testDrawRectWithPolyLine() local 148 Bitmap aBitmap = aOutDevTest.setupRectangle(true); in testDrawRectAAWithRectangle() local 292 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithPolygon() local 304 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDrawDiamondWithLine() local [all …]
|
H A D | BitmapExTest.cxx | 37 Bitmap aBitmap(Size(3, 3), 24); in testGetPixelColor24_8() local 39 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testGetPixelColor24_8() 48 BitmapEx aBitmapEx(aBitmap, aMask); in testGetPixelColor24_8() 61 Bitmap aBitmap(Size(3, 3), 32); in testGetPixelColor32() local 63 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testGetPixelColor32() 67 BitmapEx aBitmapEx(aBitmap); in testGetPixelColor32() 74 Bitmap aBitmap(Size(16, 16), 24); in testTransformBitmapEx() local 76 BitmapScopedWriteAccess pWriteAccess(aBitmap); in testTransformBitmapEx() 86 BitmapEx aBitmapEx(aBitmap); in testTransformBitmapEx() 91 aBitmap = aTransformed.GetBitmap(); in testTransformBitmapEx() [all …]
|
H A D | BitmapTest.cxx | 177 Bitmap aBitmap(Size(10, 10), 8); in testEmpty() local 178 aBitmap.Erase(COL_LIGHTGRAYBLUE); in testEmpty() 182 aBitmap.SetEmpty(); in testEmpty() 183 CPPUNIT_ASSERT(aBitmap.IsEmpty()); in testEmpty() 347 Bitmap aBitmap(Size(10, 10), 8); in testConvert() local 349 aBitmap.Erase(COL_LIGHTGRAYBLUE); in testConvert() 441 aBitmap.Erase(COL_BLACK); in testCRC() 443 aBitmap.Invert(); in testCRC() 562 Bitmap aBitmap(Size(3, 3), 24); in testErase() local 582 Bitmap aBitmap(Size(3, 3), 32); in testBitmap32() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/backendtest/ |
H A D | VisualBackendTest.cxx | 44 Size aBitmapSize(aBitmap.GetSizePixel()); in drawBitmapCentered() 51 rRenderContext.DrawBitmap(aPoint, aBitmap); in drawBitmapCentered() 59 Size aBitmapSize(aBitmap.GetSizePixel()); in drawBitmapScaledAndCentered() 63 aBitmap.Scale(fScale, fScale, aFlag); in drawBitmapScaledAndCentered() 65 drawBitmapCentered(rRect, aBitmap, rRenderContext); in drawBitmapScaledAndCentered() 319 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testDiamondsAndBezier() local 348 Bitmap aBitmap = aOutDevTest.setupBezier(); in testDiamondsAndBezier() local 371 Bitmap aBitmap = aOutDevTest.setupLines(); in testLines() local 378 Bitmap aBitmap = aOutDevTest.setupLines(); in testLines() local 385 Bitmap aBitmap = aOutDevTest.setupLines(); in testLines() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/backendtest/ |
H A D | VisualBackendTest.cxx | 43 Size aBitmapSize(aBitmap.GetSizePixel()); in drawBitmapCentered() 50 rRenderContext.DrawBitmap(aPoint, aBitmap); in drawBitmapCentered() 58 Size aBitmapSize(aBitmap.GetSizePixel()); in drawBitmapScaledAndCentered() 62 aBitmap.Scale(fScale, fScale, aFlag); in drawBitmapScaledAndCentered() 64 drawBitmapCentered(rRect, aBitmap, rRenderContext); in drawBitmapScaledAndCentered() 252 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testFilledRectangles() local 259 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testFilledRectangles() local 266 Bitmap aBitmap = aOutDevTest.setupDiamond(); in testFilledRectangles() local 282 Bitmap aBitmap = aOutDevTest.setupLines(); in testLines() local 289 Bitmap aBitmap = aOutDevTest.setupLines(); in testLines() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/jpeg/ |
H A D | JpegReaderTest.cxx | 113 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadRGB() local 114 Size aSize = aBitmap.GetSizePixel(); in testReadRGB() 119 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), nMaxDelta)); in testReadRGB() 130 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadGray() local 131 Size aSize = aBitmap.GetSizePixel(); in testReadGray() 149 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadCMYK() local 150 Size aSize = aBitmap.GetSizePixel(); in testReadCMYK() 155 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), maxDelta)); in testReadCMYK() 156 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0xff, 0x00, 0x00), maxDelta)); in testReadCMYK() 157 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0x00, 0xff, 0x00), maxDelta)); in testReadCMYK() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/jpeg/ |
H A D | JpegReaderTest.cxx | 120 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadRGB() local 121 Size aSize = aBitmap.GetSizePixel(); in testReadRGB() 137 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadGray() local 138 Size aSize = aBitmap.GetSizePixel(); in testReadGray() 142 aBitmap.Convert( in testReadGray() 157 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testReadCMYK() local 158 Size aSize = aBitmap.GetSizePixel(); in testReadCMYK() 163 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), maxDelta)); in testReadCMYK() 174 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testTdf138950() local 175 Size aSize = aBitmap.GetSizePixel(); in testTdf138950() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/bitmaprender/ |
H A D | BitmapRenderTest.cxx | 69 BitmapEx aBitmap = aGraphic.GetBitmapEx(); in testTdf104141() local 70 pVDev->DrawBitmapEx(Point(20, 20), aBitmap); in testTdf104141() 92 BitmapEx aBitmap = aGraphic.GetBitmapEx(); in testTdf113918() local 93 pVDev->DrawBitmapEx(Point(0, 0), aBitmap); in testTdf113918() 181 Color aColor = aBitmap.GetPixelColor(1, 1); in testAlphaVirtualDevice() 200 aColor = aBitmap.GetPixelColor(1, 1); in testAlphaVirtualDevice() 223 aColor = aBitmap.GetPixelColor(0, 0); in testAlphaVirtualDevice() 243 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testTdf116888() local 244 CPPUNIT_ASSERT(!aBitmap.IsEmpty()); in testTdf116888() 245 aBitmap.Scale(0.8, 0.8); // This scaling discards mpUserData, in testTdf116888() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/backendtest/outputdevice/ |
H A D | bitmap.cxx | 21 Bitmap aBitmap(aBitmapSize, vcl::PixelFormat::N24_BPP); in setupDrawTransformedBitmap() local 23 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawTransformedBitmap() 46 Bitmap aBitmap(aBitmapSize, vcl::PixelFormat::N24_BPP); in setupDrawBitmap() local 48 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawBitmap() 68 Bitmap aBitmap(aBitmapSize, vcl::PixelFormat::N24_BPP); in setupDrawBitmapExWithAlpha() local 70 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawBitmapExWithAlpha() 98 Bitmap aBitmap(aBitmapSize, vcl::PixelFormat::N24_BPP); in setupDrawMask() local 100 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawMask() 119 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawBlend() 187 Bitmap aBitmap(rBitmapEx.GetBitmap()); in checkBlend() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/bitmaprender/ |
H A D | BitmapRenderTest.cxx | 73 BitmapEx aBitmap = aGraphic.GetBitmapEx(); in testTdf104141() local 74 pVDev->DrawBitmapEx(Point(20, 20), aBitmap); in testTdf104141() 96 BitmapEx aBitmap = aGraphic.GetBitmapEx(); in testTdf113918() local 97 pVDev->DrawBitmapEx(Point(0, 0), aBitmap); in testTdf113918() 197 Color aColor = aBitmap.GetPixelColor(1, 1); in testAlphaVirtualDevice() 216 aColor = aBitmap.GetPixelColor(1, 1); in testAlphaVirtualDevice() 239 aColor = aBitmap.GetPixelColor(0, 0); in testAlphaVirtualDevice() 260 Bitmap aBitmap = aGraphic.GetBitmapEx().GetBitmap(); in testTdf116888() local 261 CPPUNIT_ASSERT(!aBitmap.IsEmpty()); in testTdf116888() 262 aBitmap.Scale(0.8, 0.8); // This scaling discards mpUserData, in testTdf116888() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/bitmap/ |
H A D | BitmapSimpleColorQuantizationFilter.cxx | 21 Bitmap aBitmap = aBitmapEx.GetBitmap(); in execute() local 25 if (aBitmap.GetColorCount() <= sal_Int64(mnNewColorCount)) in execute() 32 Bitmap::ScopedReadAccess pRAcc(aBitmap); in execute() 48 aNewBmp = Bitmap(aBitmap.GetSizePixel(), nBitCount, &rPal); in execute() 97 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 98 const Size aSize(aBitmap.GetPrefSize()); in execute() 100 aBitmap = aNewBmp; in execute() 102 aBitmap.SetPrefMapMode(aMap); in execute() 103 aBitmap.SetPrefSize(aSize); in execute() 108 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapMonochromeFilter.cxx | 20 Bitmap aBitmap = aBitmapEx.GetBitmap(); in execute() local 21 Bitmap::ScopedReadAccess pReadAcc(aBitmap); in execute() 26 Bitmap aNewBmp(aBitmap.GetSizePixel(), 1); in execute() 85 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 86 const Size aSize(aBitmap.GetPrefSize()); in execute() 88 aBitmap = aNewBmp; in execute() 90 aBitmap.SetPrefMapMode(aMap); in execute() 91 aBitmap.SetPrefSize(aSize); in execute() 96 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapMonochromeMatrixFilter.cxx | 65 Bitmap aBitmap = aBitmapEx.GetBitmap(); in execute() local 66 Bitmap::ScopedReadAccess pReadAcc(aBitmap); in execute() 71 Bitmap aNewBmp(aBitmap.GetSizePixel(), 1); in execute() 126 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 127 const Size aSize(aBitmap.GetPrefSize()); in execute() 129 aBitmap = aNewBmp; in execute() 131 aBitmap.SetPrefMapMode(aMap); in execute() 132 aBitmap.SetPrefSize(aSize); in execute() 137 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapMosaicFilter.cxx | 20 Bitmap aBitmap(rBitmapEx.GetBitmap()); in execute() local 30 if (aBitmap.GetBitCount() > 8) in execute() 32 pReadAcc = pWriteAcc = aBitmap.AcquireWriteAccess(); in execute() 36 pNewBmp.reset(new Bitmap(aBitmap.GetSizePixel(), 24)); in execute() 37 pReadAcc = aBitmap.AcquireReadAccess(); in execute() 168 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 169 const Size aPrefSize(aBitmap.GetPrefSize()); in execute() 171 aBitmap = *pNewBmp; in execute() 173 aBitmap.SetPrefMapMode(aMap); in execute() 174 aBitmap.SetPrefSize(aPrefSize); in execute() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/backendtest/outputdevice/ |
H A D | bitmap.cxx | 22 Bitmap aBitmap(aBitmapSize, 24); in setupDrawTransformedBitmap() local 24 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawTransformedBitmap() 47 Bitmap aBitmap(aBitmapSize, 24); in setupDrawBitmap() local 49 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawBitmap() 61 mpVirtualDevice->DrawBitmapEx(aPoint, BitmapEx(aBitmap)); in setupDrawBitmap() 69 Bitmap aBitmap(aBitmapSize, 24); in setupDrawBitmapExWithAlpha() local 71 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawBitmapExWithAlpha() 91 mpVirtualDevice->DrawBitmapEx(aPoint, BitmapEx(aBitmap, aAlpha)); in setupDrawBitmapExWithAlpha() 99 Bitmap aBitmap(aBitmapSize, 24); in setupDrawMask() local 101 BitmapScopedWriteAccess aWriteAccess(aBitmap); in setupDrawMask() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/ |
H A D | BitmapSimpleColorQuantizationFilter.cxx | 20 Bitmap aBitmap = aBitmapEx.GetBitmap(); in execute() local 24 if (vcl::numberOfColors(aBitmap.getPixelFormat()) <= sal_Int64(mnNewColorCount)) in execute() 31 Bitmap::ScopedReadAccess pRAcc(aBitmap); in execute() 45 aNewBmp = Bitmap(aBitmap.GetSizePixel(), ePixelFormat, &rPal); in execute() 94 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 95 const Size aSize(aBitmap.GetPrefSize()); in execute() 97 aBitmap = aNewBmp; in execute() 99 aBitmap.SetPrefMapMode(aMap); in execute() 100 aBitmap.SetPrefSize(aSize); in execute() 105 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapMonochromeFilter.cxx | 19 Bitmap aBitmap = aBitmapEx.GetBitmap(); in execute() local 20 Bitmap::ScopedReadAccess pReadAcc(aBitmap); in execute() 25 Bitmap aNewBmp(aBitmap.GetSizePixel(), vcl::PixelFormat::N1_BPP); in execute() 84 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 85 const Size aSize(aBitmap.GetPrefSize()); in execute() 87 aBitmap = aNewBmp; in execute() 89 aBitmap.SetPrefMapMode(aMap); in execute() 90 aBitmap.SetPrefSize(aSize); in execute() 95 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapSepiaFilter.cxx | 23 Bitmap aBitmap(rBitmapEx.GetBitmap()); in execute() local 24 Bitmap::ScopedReadAccess pReadAcc(aBitmap); in execute() 43 Bitmap aNewBmp(aBitmap.GetSizePixel(), vcl::PixelFormat::N8_BPP, &aSepiaPal); in execute() 94 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 95 const Size aPrefSize(aBitmap.GetPrefSize()); in execute() 97 aBitmap = aNewBmp; in execute() 99 aBitmap.SetPrefMapMode(aMap); in execute() 100 aBitmap.SetPrefSize(aPrefSize); in execute() 105 return BitmapEx(aBitmap); in execute()
|
H A D | BitmapMosaicFilter.cxx | 19 Bitmap aBitmap(rBitmapEx.GetBitmap()); in execute() local 29 if (!isPalettePixelFormat(aBitmap.getPixelFormat())) in execute() 31 pReadAcc = pWriteAcc = aBitmap.AcquireWriteAccess(); in execute() 35 pNewBmp.reset(new Bitmap(aBitmap.GetSizePixel(), vcl::PixelFormat::N24_BPP)); in execute() 36 pReadAcc = aBitmap.AcquireReadAccess(); in execute() 169 const MapMode aMap(aBitmap.GetPrefMapMode()); in execute() 170 const Size aPrefSize(aBitmap.GetPrefSize()); in execute() 172 aBitmap = *pNewBmp; in execute() 174 aBitmap.SetPrefMapMode(aMap); in execute() 175 aBitmap.SetPrefSize(aPrefSize); in execute() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/graphic/ |
H A D | UnoGraphicTransformer.cxx | 61 Bitmap aBitmap(aBitmapEx.GetBitmap()); in colorChange() local 74 Bitmap aMask2(aBitmap.CreateMask(aColorFrom, nTolerance)); in colorChange() 76 aBitmap.Replace(aColorFrom, aColorTo, nTolerance); in colorChange() 77 aReturnGraphic = ::Graphic(BitmapEx(aBitmap, aMask)); in colorChange() 90 Bitmap aMask(aBitmap.CreateMask(aColorFrom, nTolerance)); in colorChange() 91 aBitmap.Replace(aColorFrom, aColorTo, nTolerance); in colorChange() 92 aReturnGraphic = ::Graphic(BitmapEx(aBitmap, aMask)); in colorChange() 115 Bitmap aBitmap( aBitmapEx.GetBitmap() ); in applyDuotone() local 117 BitmapEx aTmpBmpEx(aBitmap); in applyDuotone() 119 aBitmap = aTmpBmpEx.GetBitmap(); in applyDuotone() [all …]
|