| /AOO42X/main/basebmp/test/ |
| H A D | linetest.cxx | 57 void implTestBasicDiagonalLines(const BitmapDeviceSharedPtr& rDevice) in implTestBasicDiagonalLines() argument 59 rDevice->clear(Color(0)); in implTestBasicDiagonalLines() 64 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 65 ASSERT_TRUE(rDevice->getPixel(aPt1) == aCol) << "first pixel set"; in implTestBasicDiagonalLines() 66 ASSERT_TRUE(rDevice->getPixel(aPt2) == aCol) << "last pixel set"; in implTestBasicDiagonalLines() 68 ASSERT_TRUE(rDevice->getPixel(aPt3) != aCol) << "topmost pixel not set"; in implTestBasicDiagonalLines() 70 ASSERT_TRUE(rDevice->getPixel(aPt4) != aCol) << "bottommost pixel not set"; in implTestBasicDiagonalLines() 72 ASSERT_TRUE(countPixel( rDevice, aCol ) == 9) << "number of rendered pixel is not 9"; in implTestBasicDiagonalLines() 74 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines() 76 ASSERT_TRUE(countPixel( rDevice, aCol ) == 9) in implTestBasicDiagonalLines() [all …]
|
| H A D | cliptest.cxx | 64 void implTestPixelClip(const BitmapDeviceSharedPtr& rDevice) in implTestPixelClip() argument 67 rDevice->clear(aBgCol); in implTestPixelClip() 71 rDevice->setPixel( aPt, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 72 ASSERT_TRUE(rDevice->getPixel(aPt) == aBgCol) << "get/setPixel clip #1"; in implTestPixelClip() 75 rDevice->setPixel( aPt2, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 76 ASSERT_TRUE(rDevice->getPixel(aPt2) == aBgCol) << "get/setPixel clip #2"; in implTestPixelClip() 79 rDevice->setPixel( aPt1, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 80 ASSERT_TRUE(rDevice->getPixel(aPt1) != aBgCol) << "get/setPixel clip #3"; in implTestPixelClip() 83 rDevice->setPixel( aPt3, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 84 ASSERT_TRUE(rDevice->getPixel(aPt3) != aBgCol) << "get/setPixel clip #4"; in implTestPixelClip() [all …]
|
| H A D | filltest.cxx | 62 void implTestRectFill(const BitmapDeviceSharedPtr& rDevice) in implTestRectFill() argument 64 rDevice->clear(Color(0)); in implTestRectFill() 69 rDevice->fillPolyPolygon( in implTestRectFill() 76 ASSERT_TRUE(rDevice->getPixel(aPt1) == aCol) << "first pixel set"; in implTestRectFill() 78 ASSERT_TRUE(rDevice->getPixel(aPt2) == aCol) << "last pixel set"; in implTestRectFill() 80 ASSERT_TRUE(rDevice->getPixel(aPt3) != aCol) << "topmost pixel not set"; in implTestRectFill() 82 ASSERT_TRUE(rDevice->getPixel(aPt4) != aCol) << "bottommost pixel not set"; in implTestRectFill() 84 ASSERT_TRUE(countPixel( rDevice, aCol ) == 81) << "number of rendered pixel is not 81"; in implTestRectFill() 87 void implTestCornerCases(const BitmapDeviceSharedPtr& rDevice) in implTestCornerCases() argument 89 rDevice->clear(Color(0)); in implTestCornerCases() [all …]
|
| H A D | polytest.cxx | 63 void implTestEmpty(const BitmapDeviceSharedPtr& rDevice) in implTestEmpty() argument 67 rDevice->clear(aBgCol); in implTestEmpty() 76 rDevice->fillPolyPolygon( in implTestEmpty() 80 ASSERT_TRUE(countPixel( rDevice, aCol ) == 0) << "number of rendered pixel is not 0"; in implTestEmpty() 84 rDevice->clear(aBgCol); in implTestEmpty() 91 rDevice->fillPolyPolygon( in implTestEmpty() 95 ASSERT_TRUE(countPixel( rDevice, aCol ) == 0) << "number of rendered pixel is not 0(b)"; in implTestEmpty() 98 void implTestHairline(const BitmapDeviceSharedPtr& rDevice) in implTestHairline() argument 102 rDevice->clear(aBgCol); in implTestHairline() 111 rDevice->fillPolyPolygon( in implTestHairline() [all …]
|
| H A D | bmptest.cxx | 66 void implTestBmpBasics(const BitmapDeviceSharedPtr& rDevice, in implTestBmpBasics() argument 69 rDevice->clear(Color(0)); in implTestBmpBasics() 78 rDevice->drawBitmap( in implTestBmpBasics() 83 ASSERT_TRUE(countPixel( rDevice, aCol ) == 8) << "number of rendered pixel is not 8"; in implTestBmpBasics() 85 rDevice->drawBitmap( in implTestBmpBasics() 90 ASSERT_TRUE(countPixel( rDevice, aCol ) == 16) << "number of rendered pixel is not 16"; in implTestBmpBasics() 92 rDevice->drawBitmap( in implTestBmpBasics() 97 ASSERT_TRUE(countPixel( rDevice, aCol ) == 24) << "number of rendered pixel is not 24"; in implTestBmpBasics() 99 rDevice->drawBitmap( in implTestBmpBasics() 104 ASSERT_TRUE(countPixel( rDevice, aCol ) == 32) << "number of rendered pixel is not 32"; in implTestBmpBasics() [all …]
|
| H A D | masktest.cxx | 65 void implTestMaskBasics(const BitmapDeviceSharedPtr& rDevice, in implTestMaskBasics() argument 77 rDevice->clear(aCol); in implTestMaskBasics() 78 rDevice->setPixel( in implTestMaskBasics() 82 rDevice->drawMaskedColor( in implTestMaskBasics() 87 ASSERT_TRUE(countPixel( rDevice, aCol ) == 100-50) << "number of rendered pixel is not 50"; in implTestMaskBasics() 89 rDevice->clear(aCol); in implTestMaskBasics() 90 rDevice->drawMaskedColor( in implTestMaskBasics() 95 ASSERT_TRUE(countPixel( rDevice, aCol ) == 100-25) << "number of rendered pixel is not 25"; in implTestMaskBasics() 97 rDevice->clear(aCol); in implTestMaskBasics() 98 rDevice->drawMaskedColor( in implTestMaskBasics() [all …]
|
| H A D | bmpmasktest.cxx | 67 void implTestBmpBasics(const BitmapDeviceSharedPtr& rDevice, in implTestBmpBasics() argument 70 rDevice->clear(Color(0)); in implTestBmpBasics() 76 rDevice->drawMaskedBitmap( in implTestBmpBasics() 82 ASSERT_TRUE(countPixel( rDevice, aCol ) == 30) << "number of rendered pixel is not 30"; in implTestBmpBasics() 85 void implTestBmpScaledClip(const BitmapDeviceSharedPtr& rDevice, in implTestBmpScaledClip() argument 88 rDevice->clear(Color(0)); in implTestBmpScaledClip() 94 rDevice->drawMaskedBitmap( in implTestBmpScaledClip() 100 ASSERT_TRUE(countPixel( rDevice, aCol ) == 12) << "number of rendered pixel is not 12"; in implTestBmpScaledClip()
|
| /AOO42X/main/sfx2/source/sidebar/ |
| H A D | DrawHelper.cxx | 33 OutputDevice& rDevice, in DrawBorder() argument 41 rDevice, in DrawBorder() 49 rDevice, in DrawBorder() 57 rDevice, in DrawBorder() 65 rDevice, in DrawBorder() 77 OutputDevice& rDevice, in DrawBevelBorder() argument 86 rDevice, in DrawBevelBorder() 94 rDevice, in DrawBevelBorder() 102 rDevice, in DrawBevelBorder() 110 rDevice, in DrawBevelBorder() [all …]
|
| H A D | DrawHelper.hxx | 41 OutputDevice& rDevice, 47 OutputDevice& rDevice, 54 OutputDevice& rDevice, 61 OutputDevice& rDevice, 68 OutputDevice& rDevice,
|
| /AOO42X/main/sd/source/ui/slidesorter/view/ |
| H A D | SlsPageObjectPainter.cxx | 135 OutputDevice& rDevice, in PaintPageObject() argument 142 const sal_uInt16 nSavedAntialiasingMode (rDevice.GetAntialiasing()); in PaintPageObject() 143 rDevice.SetAntialiasing(nSavedAntialiasingMode & ~ANTIALIASING_ENABLE_B2DDRAW); in PaintPageObject() 145 PaintBackground(rDevice, rpDescriptor); in PaintPageObject() 146 PaintPreview(rDevice, rpDescriptor); in PaintPageObject() 147 PaintPageNumber(rDevice, rpDescriptor); in PaintPageObject() 148 PaintTransitionEffect(rDevice, rpDescriptor); in PaintPageObject() 149 mrButtonBar.Paint(rDevice, rpDescriptor); in PaintPageObject() 151 rDevice.SetAntialiasing(nSavedAntialiasingMode); in PaintPageObject() 219 OutputDevice& rDevice, in PaintBackground() argument [all …]
|
| H A D | SlsFramePainter.cxx | 70 OutputDevice& rDevice, in PaintFrame() argument 77 maTopLeft.PaintCorner(rDevice, aBox.TopLeft()); in PaintFrame() 78 maTopRight.PaintCorner(rDevice, aBox.TopRight()); in PaintFrame() 79 maBottomLeft.PaintCorner(rDevice, aBox.BottomLeft()); in PaintFrame() 80 maBottomRight.PaintCorner(rDevice, aBox.BottomRight()); in PaintFrame() 81 maLeft.PaintSide(rDevice, aBox.TopLeft(), aBox.BottomLeft(), maTopLeft, maBottomLeft); in PaintFrame() 82 maRight.PaintSide(rDevice, aBox.TopRight(), aBox.BottomRight(), maTopRight, maBottomRight); in PaintFrame() 83 maTop.PaintSide(rDevice, aBox.TopLeft(), aBox.TopRight(), maTopLeft, maTopRight); in PaintFrame() 84 maBottom.PaintSide(rDevice, aBox.BottomLeft(), aBox.BottomRight(), maBottomLeft, maBottomRight); in PaintFrame() 85 maCenter.PaintCenter(rDevice,aBox); in PaintFrame() [all …]
|
| H A D | SlsInsertionIndicatorOverlay.cxx | 288 OutputDevice& rDevice, in PaintPageCount() argument 295 ::boost::shared_ptr<Font> pFont(Theme::GetFont(Theme::Font_PageCount, rDevice)); in PaintPageCount() 302 rDevice.SetFont(*pFont); in PaintPageCount() 304 rDevice.GetTextBoundRect(aTextBox, sNumber); in PaintPageCount() 317 rDevice.SetFillColor(pTheme->GetColor(Theme::Color_Selection)); in PaintPageCount() 318 rDevice.SetLineColor(pTheme->GetColor(Theme::Color_Selection)); in PaintPageCount() 319 rDevice.DrawRect(GrowRectangle(aTextBox, nBorder)); in PaintPageCount() 321 rDevice.SetFillColor(); in PaintPageCount() 322 rDevice.SetLineColor(pTheme->GetColor(Theme::Color_PageCountFontColor)); in PaintPageCount() 323 rDevice.DrawRect(GrowRectangle(aTextBox, nBorder-1)); in PaintPageCount() [all …]
|
| H A D | SlsButtonBar.cxx | 434 OutputDevice& rDevice, in Paint() argument 449 PaintButtonBackground(rDevice, rpDescriptor, aOffset); in Paint() 461 rDevice, in Paint() 479 OutputDevice& rDevice, in PaintButtonBackground() argument 488 maButtonDownBackground = mpBackgroundTheme->CreateBackground(rDevice, true); in PaintButtonBackground() 489 maNormalBackground = mpBackgroundTheme->CreateBackground(rDevice, false); in PaintButtonBackground() 503 rDevice.DrawBitmapEx(maBackgroundLocation+aOffset, BitmapEx(pBitmap->GetBitmap(), aMask)); in PaintButtonBackground() 1208 OutputDevice& rDevice, in Paint() argument 1219 rDevice.SetTextColor(rpTheme->GetColor(Theme::Color_ButtonText)); in Paint() 1221 rDevice.SetTextColor(rpTheme->GetColor(Theme::Color_ButtonTextHover)); in Paint() [all …]
|
| H A D | SlsFontProvider.cxx | 100 FontProvider::SharedFontPointer FontProvider::GetFont (const OutputDevice& rDevice) in GetFont() argument 103 if (maMapMode != rDevice.GetMapMode()) in GetFont() 115 Size aFontSize (rDevice.LogicToPixel(maFont->GetSize(), aFontMapMode)); in GetFont() 118 maFont->SetSize (rDevice.PixelToLogic(aFontSize)); in GetFont() 122 maMapMode = rDevice.GetMapMode(); in GetFont()
|
| H A D | SlideSorterView.cxx | 104 virtual void Paint (OutputDevice& rDevice, const Rectangle& rRepaintArea) in Paint() argument 106 mrView.Paint(rDevice,rRepaintArea); in Paint() 126 virtual void Paint (OutputDevice& rDevice, const Rectangle& rRepaintArea) in Paint() argument 128 rDevice.SetFillColor(maBackgroundColor); in Paint() 129 rDevice.SetLineColor(); in Paint() 130 rDevice.DrawRect(rRepaintArea); in Paint() 779 OutputDevice& rDevice, in Paint() argument 805 mpPageObjectPainter->PaintPageObject(rDevice, pDescriptor); in Paint()
|
| /AOO42X/main/canvas/source/tools/ |
| H A D | parametricpolypolygon.cxx | 60 const uno::Reference< rendering::XGraphicDevice >& rDevice, in create() 71 colorSequence[0] = rDevice->getDeviceColorSpace()->convertFromRGB(rgbColors); in create() 73 colorSequence[1] = rDevice->getDeviceColorSpace()->convertFromRGB(rgbColors); in create() 100 return createLinearHorizontalGradient(rDevice, colorSequence, colorStops); in create() 104 return createEllipticalGradient(rDevice, colorSequence, colorStops, fAspectRatio); in create() 108 return createRectangularGradient(rDevice, colorSequence, colorStops, fAspectRatio); in create() 131 const uno::Reference< rendering::XGraphicDevice >& rDevice, in createLinearHorizontalGradient() 137 return new ParametricPolyPolygon( rDevice, GRADIENT_LINEAR, colors, stops ); in createLinearHorizontalGradient() 141 const uno::Reference< rendering::XGraphicDevice >& rDevice, in createEllipticalGradient() 149 rDevice, in createEllipticalGradient() [all …]
|
| /AOO42X/main/canvas/source/directx/ |
| H A D | dx_devicehelper.hxx | 58 com::sun::star::rendering::XGraphicDevice& rDevice ); 67 …o::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 70 …ence< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 73 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 76 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 79 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 82 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
|
| /AOO42X/main/starmath/source/ |
| H A D | view.cxx | 862 Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine) in GetTextLineSize() argument 867 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize() 872 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize() 884 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize() 892 Size SmViewShell::GetTextSize(OutputDevice& rDevice, const String& rText, long MaxWidth) in GetTextSize() argument 909 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize() 924 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize() 933 aSize = GetTextLineSize(rDevice, aText); in GetTextSize() 954 void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const String& rLine) in DrawTextLine() argument 964 long TabPos = rDevice.GetTextWidth('n') * 8; in DrawTextLine() [all …]
|
| /AOO42X/main/sd/source/ui/slidesorter/inc/view/ |
| H A D | SlsPageObjectPainter.hxx | 51 OutputDevice& rDevice, 99 OutputDevice& rDevice, 102 OutputDevice& rDevice, 105 OutputDevice& rDevice, 108 OutputDevice& rDevice, 111 OutputDevice& rDevice,
|
| /AOO42X/main/canvas/inc/canvas/ |
| H A D | parametricpolypolygon.hxx | 101 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 127 … ::com::sun::star::rendering::XGraphicDevice >& rDevice, 131 … ::com::sun::star::rendering::XGraphicDevice >& rDevice, 136 … ::com::sun::star::rendering::XGraphicDevice >& rDevice, 143 ::com::sun::star::rendering::XGraphicDevice >& rDevice, 149 ::com::sun::star::rendering::XGraphicDevice >& rDevice, 156 ::com::sun::star::rendering::XGraphicDevice >& rDevice,
|
| /AOO42X/main/canvas/source/vcl/ |
| H A D | devicehelper.hxx | 60 …o::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 63 …ence< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 66 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 69 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 72 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 75 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
|
| H A D | canvasbitmap.cxx | 43 rendering::XGraphicDevice& rDevice, in CanvasBitmap() argument 62 rDevice, in CanvasBitmap() 68 rDevice, in CanvasBitmap() 74 rendering::XGraphicDevice& rDevice, in CanvasBitmap() argument 77 maCanvasHelper.init( rBitmap, rDevice, rOutDevProvider ); in CanvasBitmap()
|
| /AOO42X/main/canvas/source/null/ |
| H A D | null_devicehelper.hxx | 57 …o::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 60 …ence< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 63 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 66 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 69 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 72 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
|
| /AOO42X/main/canvas/source/cairo/ |
| H A D | cairo_devicehelper.hxx | 73 …o::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 76 …ence< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 79 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 82 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 85 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, 88 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
|
| /AOO42X/main/basebmp/source/ |
| H A D | debug.cxx | 78 void debugDump( const BitmapDeviceSharedPtr& rDevice, in debugDump() argument 81 const basegfx::B2IVector aSize( rDevice->getSize() ); in debugDump() 82 const bool bTopDown( rDevice->isTopDown() ); in debugDump() 83 const sal_Int32 nScanlineFormat( rDevice->getScanlineFormat() ); in debugDump() 98 …rOutputStream << std::setw(8) << (sal_uInt32)rDevice->getPixel( basegfx::B2IPoint(x,y) ).toInt32()… in debugDump()
|