Home
last modified time | relevance | path

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

1234

/aoo42x/main/basebmp/test/
H A Dlinetest.cxx59 rDevice->clear(Color(0)); in implTestBasicDiagonalLines()
64 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines()
74 rDevice->drawLine( aPt2, aPt1, aCol, DrawMode_PAINT ); in implTestBasicDiagonalLines()
76 ASSERT_TRUE(countPixel( rDevice, aCol ) == 9) in implTestBasicDiagonalLines()
82 rDevice->clear(Color(0)); in implTestBasicHorizontalLines()
87 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT ); in implTestBasicHorizontalLines()
92 rDevice->clear(Color(0)); in implTestBasicHorizontalLines()
101 rDevice->clear(Color(0)); in implTestBasicVerticalLines()
121 rDevice->clear(Color(0)); in implTestTieBreaking()
130 ASSERT_TRUE(countPixel( rDevice, aCol ) == 3) in implTestTieBreaking()
[all …]
H A Dcliptest.cxx67 rDevice->clear(aBgCol); in implTestPixelClip()
90 rDevice->clear(aBgCol); in implTestLineClip()
99 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt3) ) == 4) in implTestLineClip()
103 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt3) ) == 121) in implTestLineClip()
109 rDevice->clear(Color(0)); in implTestFillClip()
119 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30) in implTestFillClip()
126 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt) ) == 121) in implTestFillClip()
134 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30) in implTestFillClip()
150 rDevice->clear(aCol1); in implTestBmpClip()
158 ASSERT_TRUE(countPixel( rDevice, rDevice->getPixel(aPt) ) == 5) in implTestBmpClip()
[all …]
H A Dfilltest.cxx64 rDevice->clear(Color(0)); in implTestRectFill()
69 rDevice->fillPolyPolygon( in implTestRectFill()
89 rDevice->clear(Color(0)); in implTestCornerCases()
99 rDevice->fillPolyPolygon( in implTestCornerCases()
106 rDevice->fillPolyPolygon( in implTestCornerCases()
113 rDevice->fillPolyPolygon( in implTestCornerCases()
122 rDevice->fillPolyPolygon( in implTestCornerCases()
131 rDevice->fillPolyPolygon( in implTestCornerCases()
140 rDevice->fillPolyPolygon( in implTestCornerCases()
154 rDevice->fillPolyPolygon( in implTestCornerCases()
[all …]
H A Dpolytest.cxx67 rDevice->clear(aBgCol); in implTestEmpty()
76 rDevice->fillPolyPolygon( in implTestEmpty()
84 rDevice->clear(aBgCol); in implTestEmpty()
91 rDevice->fillPolyPolygon( in implTestEmpty()
102 rDevice->clear(aBgCol); in implTestHairline()
119 rDevice->clear(aBgCol); in implTestHairline()
134 rDevice->clear(aBgCol); in implTestHairline()
152 rDevice->clear(aBgCol); in implTestPolyPoly()
172 rDevice->clear(aBgCol); in implTestPolyPolyClip()
197 rDevice->clear(aBgCol); in implTestPolyPolyClip()
[all …]
H A Dbmptest.cxx66 void implTestBmpBasics(const BitmapDeviceSharedPtr& rDevice, in implTestBmpBasics() argument
69 rDevice->clear(Color(0)); in implTestBmpBasics()
78 rDevice->drawBitmap( in implTestBmpBasics()
85 rDevice->drawBitmap( in implTestBmpBasics()
92 rDevice->drawBitmap( in implTestBmpBasics()
99 rDevice->drawBitmap( in implTestBmpBasics()
107 void implTestBmpClip(const BitmapDeviceSharedPtr& rDevice, in implTestBmpClip() argument
110 rDevice->clear(Color(0)); in implTestBmpClip()
119 rDevice->drawBitmap( in implTestBmpClip()
126 rDevice->drawBitmap( in implTestBmpClip()
[all …]
H A Dmasktest.cxx65 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()
97 rDevice->clear(aCol); in implTestMaskBasics()
98 rDevice->drawMaskedColor( in implTestMaskBasics()
105 rDevice->clear(aCol); in implTestMaskBasics()
[all …]
H A Dbmpmasktest.cxx67 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 DDrawHelper.cxx33 OutputDevice& rDevice, in DrawBorder() argument
41 rDevice, in DrawBorder()
49 rDevice, in DrawBorder()
57 rDevice, in DrawBorder()
65 rDevice, in DrawBorder()
86 rDevice, in DrawBevelBorder()
94 rDevice, in DrawBevelBorder()
102 rDevice, in DrawBevelBorder()
110 rDevice, in DrawBevelBorder()
118 rDevice, in DrawBevelBorder()
[all …]
H A DDrawHelper.hxx41 OutputDevice& rDevice,
47 OutputDevice& rDevice,
54 OutputDevice& rDevice,
61 OutputDevice& rDevice,
68 OutputDevice& rDevice,
/aoo42x/main/sd/source/ui/slidesorter/view/
H A DSlsPageObjectPainter.cxx135 OutputDevice& rDevice, in PaintPageObject() argument
219 OutputDevice& rDevice, in PaintBackground() argument
249 OutputDevice& rDevice, in PaintPreview() argument
341 OutputDevice& rDevice, in PaintPageNumber() argument
396 OutputDevice& rDevice, in PaintTransitionEffect() argument
407 rDevice.DrawBitmapEx( in PaintTransitionEffect()
581 OutputDevice& rDevice, in PaintBorder() argument
591 rDevice.DrawLine( in PaintBorder()
594 rDevice.DrawLine( in PaintBorder()
597 rDevice.DrawLine( in PaintBorder()
[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()
85 maCenter.PaintCenter(rDevice,aBox); in PaintFrame()
173 OutputDevice& rDevice, in PaintCorner() argument
177 rDevice.DrawBitmapEx(rAnchor+maOffset, maBitmap); in PaintCorner()
184 OutputDevice& rDevice, in PaintSide() argument
208 rDevice.DrawBitmapEx( in PaintSide()
228 rDevice.DrawBitmapEx( in PaintSide()
245 OutputDevice& rDevice, in PaintCenter() argument
[all …]
H A DSlsInsertionIndicatorOverlay.cxx288 OutputDevice& rDevice, in PaintPageCount() argument
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()
323 rDevice.DrawRect(GrowRectangle(aTextBox, nBorder-1)); in PaintPageCount()
326 rDevice.DrawText(aTextBox.TopLeft()-aTextOffset, sNumber); in PaintPageCount()
357 OutputDevice& rDevice, in Paint() argument
[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
1208 OutputDevice& rDevice, in Paint() argument
1219 rDevice.SetTextColor(rpTheme->GetColor(Theme::Color_ButtonText)); in Paint()
1286 OutputDevice& rDevice, in Paint() argument
1296 const sal_uInt16 nSavedAntialiasingMode (rDevice.GetAntialiasing()); in Paint()
1299 rDevice.SetLineColor(); in Paint()
1333 rDevice.DrawBitmapEx( 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 DSlideSorterView.cxx104 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 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()
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()
164 rDevice, in createRectangularGradient()
240 mxDevice( rDevice ), in ParametricPolyPolygon()
256 mxDevice( rDevice ), in ParametricPolyPolygon()
[all …]
/aoo42x/main/canvas/source/directx/
H A Ddx_devicehelper.hxx58 com::sun::star::rendering::XGraphicDevice& rDevice );
67 … ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
70 …com::sun::star::uno::Reference< ::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 Dview.cxx872 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize()
877 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize()
914 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
938 aSize = GetTextLineSize(rDevice, aText); in GetTextSize()
979 rDevice.DrawText(aPoint, aText); in DrawTextLine()
980 aPoint.X() += rDevice.GetTextWidth(aText); in DrawTextLine()
984 rDevice.DrawText(aPoint, rLine); in DrawTextLine()
1004 aSize = GetTextLineSize(rDevice, aLine); in DrawText()
1027 DrawTextLine(rDevice, aPoint, aText); in DrawText()
1039 DrawTextLine(rDevice, aPoint, aLine); in DrawText()
[all …]
/aoo42x/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,
/aoo42x/main/canvas/inc/canvas/
H A Dparametricpolypolygon.hxx101 … 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 Ddevicehelper.hxx60 … ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
63 …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,
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()
/aoo42x/main/canvas/source/cairo/
H A Dcairo_devicehelper.hxx73 … ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
76 …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,
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/canvas/source/null/
H A Dnull_devicehelper.hxx57 … ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
60 …com::sun::star::uno::Reference< ::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/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()

Completed in 99 milliseconds

1234