Home
last modified time | relevance | path

Searched refs:rDevice (Results 1 – 25 of 83) sorted by relevance

1234

/AOO41X/main/basebmp/test/
H A Dlinetest.cxx59 void implTestBasicDiagonalLines(const BitmapDeviceSharedPtr& rDevice) in implTestBasicDiagonalLines() argument
61 rDevice->clear(Color(0)); in implTestBasicDiagonalLines()
66 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines()
68 rDevice->getPixel(aPt1) == aCol); in implTestBasicDiagonalLines()
70 rDevice->getPixel(aPt2) == aCol); in implTestBasicDiagonalLines()
73 rDevice->getPixel(aPt3) != aCol); in implTestBasicDiagonalLines()
76 rDevice->getPixel(aPt4) != aCol); in implTestBasicDiagonalLines()
79 countPixel( rDevice, aCol ) == 9); in implTestBasicDiagonalLines()
81 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines()
85 countPixel( rDevice, aCol ) == 9); in implTestBasicDiagonalLines()
[all …]
H A Dcliptest.cxx66 void implTestPixelClip(const BitmapDeviceSharedPtr& rDevice) in implTestPixelClip() argument
69 rDevice->clear(aBgCol); in implTestPixelClip()
73 rDevice->setPixel( aPt, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip()
75 rDevice->getPixel(aPt) == aBgCol); in implTestPixelClip()
78 rDevice->setPixel( aPt2, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip()
80 rDevice->getPixel(aPt2) == aBgCol); in implTestPixelClip()
83 rDevice->setPixel( aPt1, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip()
85 rDevice->getPixel(aPt1) != aBgCol); in implTestPixelClip()
88 rDevice->setPixel( aPt3, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip()
90 rDevice->getPixel(aPt3) != aBgCol); in implTestPixelClip()
[all …]
H A Dfilltest.cxx64 void implTestRectFill(const BitmapDeviceSharedPtr& rDevice) in implTestRectFill() argument
66 rDevice->clear(Color(0)); in implTestRectFill()
71 rDevice->fillPolyPolygon( in implTestRectFill()
79 rDevice->getPixel(aPt1) == aCol); in implTestRectFill()
82 rDevice->getPixel(aPt2) == aCol); in implTestRectFill()
85 rDevice->getPixel(aPt3) != aCol); in implTestRectFill()
88 rDevice->getPixel(aPt4) != aCol); in implTestRectFill()
91 countPixel( rDevice, aCol ) == 81); in implTestRectFill()
94 void implTestCornerCases(const BitmapDeviceSharedPtr& rDevice) in implTestCornerCases() argument
96 rDevice->clear(Color(0)); in implTestCornerCases()
[all …]
H A Dpolytest.cxx65 void implTestEmpty(const BitmapDeviceSharedPtr& rDevice) in implTestEmpty() argument
69 rDevice->clear(aBgCol); in implTestEmpty()
77 rDevice->fillPolyPolygon( in implTestEmpty()
82 countPixel( rDevice, aCol ) == 0); in implTestEmpty()
86 rDevice->clear(aBgCol); in implTestEmpty()
92 rDevice->fillPolyPolygon( in implTestEmpty()
97 countPixel( rDevice, aCol ) == 0); in implTestEmpty()
100 void implTestHairline(const BitmapDeviceSharedPtr& rDevice) in implTestHairline() argument
104 rDevice->clear(aBgCol); in implTestHairline()
112 rDevice->fillPolyPolygon( in implTestHairline()
[all …]
H A Dbmptest.cxx68 void implTestBmpBasics(const BitmapDeviceSharedPtr& rDevice, in implTestBmpBasics() argument
71 rDevice->clear(Color(0)); in implTestBmpBasics()
80 rDevice->drawBitmap( in implTestBmpBasics()
86 countPixel( rDevice, aCol ) == 8); in implTestBmpBasics()
88 rDevice->drawBitmap( in implTestBmpBasics()
94 countPixel( rDevice, aCol ) == 16); in implTestBmpBasics()
96 rDevice->drawBitmap( in implTestBmpBasics()
102 countPixel( rDevice, aCol ) == 24); in implTestBmpBasics()
104 rDevice->drawBitmap( in implTestBmpBasics()
110 countPixel( rDevice, aCol ) == 32); in implTestBmpBasics()
[all …]
H A Dmasktest.cxx67 void implTestMaskBasics(const BitmapDeviceSharedPtr& rDevice, in implTestMaskBasics() argument
79 rDevice->clear(aCol); in implTestMaskBasics()
80 rDevice->setPixel( in implTestMaskBasics()
84 rDevice->drawMaskedColor( in implTestMaskBasics()
90 countPixel( rDevice, aCol ) == 100-50); in implTestMaskBasics()
92 rDevice->clear(aCol); in implTestMaskBasics()
93 rDevice->drawMaskedColor( in implTestMaskBasics()
99 countPixel( rDevice, aCol ) == 100-25); in implTestMaskBasics()
101 rDevice->clear(aCol); in implTestMaskBasics()
102 rDevice->drawMaskedColor( in implTestMaskBasics()
[all …]
H A Dbmpmasktest.cxx69 void implTestBmpBasics(const BitmapDeviceSharedPtr& rDevice, in implTestBmpBasics() argument
72 rDevice->clear(Color(0)); in implTestBmpBasics()
78 rDevice->drawMaskedBitmap( in implTestBmpBasics()
85 countPixel( rDevice, aCol ) == 30); in implTestBmpBasics()
88 void implTestBmpScaledClip(const BitmapDeviceSharedPtr& rDevice, in implTestBmpScaledClip() argument
91 rDevice->clear(Color(0)); in implTestBmpScaledClip()
97 rDevice->drawMaskedBitmap( in implTestBmpScaledClip()
104 countPixel( rDevice, aCol ) == 12); in implTestBmpScaledClip()
/AOO41X/main/sfx2/source/sidebar/
H A DDrawHelper.cxx33 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 DDrawHelper.hxx41 OutputDevice& rDevice,
47 OutputDevice& rDevice,
54 OutputDevice& rDevice,
61 OutputDevice& rDevice,
68 OutputDevice& rDevice,
/AOO41X/main/sd/source/ui/slidesorter/view/
H A DSlsPageObjectPainter.cxx135 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 DSlsFramePainter.cxx70 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 DSlsInsertionIndicatorOverlay.cxx288 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 DSlsButtonBar.cxx434 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 DSlsFontProvider.cxx100 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 DSlsFramePainter.hxx41 void PaintFrame (OutputDevice&rDevice, const Rectangle aBox) const;
82 void PaintCorner (OutputDevice& rDevice, const Point& rAnchor) const;
90 OutputDevice& rDevice,
99 OutputDevice& rDevice,
/AOO41X/main/canvas/source/tools/
H A Dparametricpolypolygon.cxx60 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 …]
/AOO41X/main/canvas/source/directx/
H A Ddx_devicehelper.hxx58 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,
/AOO41X/main/starmath/source/
H A Dview.cxx859 Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine) in GetTextLineSize() argument
864 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize()
869 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize()
881 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize()
889 Size SmViewShell::GetTextSize(OutputDevice& rDevice, const String& rText, long MaxWidth) in GetTextSize() argument
906 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
921 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize()
930 aSize = GetTextLineSize(rDevice, aText); in GetTextSize()
951 void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const String& rLine) in DrawTextLine() argument
961 long TabPos = rDevice.GetTextWidth('n') * 8; in DrawTextLine()
[all …]
/AOO41X/main/sd/source/ui/slidesorter/inc/view/
H A DSlsPageObjectPainter.hxx51 OutputDevice& rDevice,
99 OutputDevice& rDevice,
102 OutputDevice& rDevice,
105 OutputDevice& rDevice,
108 OutputDevice& rDevice,
111 OutputDevice& rDevice,
/AOO41X/main/canvas/inc/canvas/
H A Dparametricpolypolygon.hxx100 … const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
126 … ::com::sun::star::rendering::XGraphicDevice >& rDevice,
130 … ::com::sun::star::rendering::XGraphicDevice >& rDevice,
135 … ::com::sun::star::rendering::XGraphicDevice >& rDevice,
142 ::com::sun::star::rendering::XGraphicDevice >& rDevice,
148 ::com::sun::star::rendering::XGraphicDevice >& rDevice,
155 ::com::sun::star::rendering::XGraphicDevice >& rDevice,
/AOO41X/main/canvas/source/vcl/
H A Ddevicehelper.hxx60 …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 Dcanvasbitmap.cxx43 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()
/AOO41X/main/canvas/source/cairo/
H A Dcairo_devicehelper.hxx73 …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,
/AOO41X/main/canvas/source/null/
H A Dnull_devicehelper.hxx57 …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,
/AOO41X/main/basebmp/source/
H A Ddebug.cxx78 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()

1234