Lines Matching refs:rDevice

64     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()
106 rDevice->fillPolyPolygon( in implTestCornerCases()
112 countPixel( rDevice, aCol ) == 0); in implTestCornerCases()
114 rDevice->fillPolyPolygon( in implTestCornerCases()
120 countPixel( rDevice, aCol ) == 0); in implTestCornerCases()
122 rDevice->fillPolyPolygon( in implTestCornerCases()
128 countPixel( rDevice, aCol ) == 11); in implTestCornerCases()
131 rDevice->getPixel(aPt1) == aCol); in implTestCornerCases()
133 rDevice->fillPolyPolygon( in implTestCornerCases()
139 countPixel( rDevice, aCol ) == 22); in implTestCornerCases()
142 rDevice->getPixel(aPt2) == aCol); in implTestCornerCases()
144 rDevice->fillPolyPolygon( in implTestCornerCases()
150 countPixel( rDevice, aCol ) == 31); in implTestCornerCases()
153 rDevice->getPixel(aPt3) == aCol); in implTestCornerCases()
155 rDevice->fillPolyPolygon( in implTestCornerCases()
161 countPixel( rDevice, aCol ) == 40); in implTestCornerCases()
164 rDevice->getPixel(aPt4) == aCol); in implTestCornerCases()
171 rDevice->fillPolyPolygon( in implTestCornerCases()
176 countPixel( rDevice, aCol ) == 43); in implTestCornerCases()
179 void implTestClipping(const BitmapDeviceSharedPtr& rDevice) in implTestClipping() argument
181 rDevice->clear(Color(0)); in implTestClipping()
190 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
195 countPixel( rDevice, aCol ) == 1); in implTestClipping()
197 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
202 countPixel( rDevice, aCol ) == 2); in implTestClipping()
204 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
209 countPixel( rDevice, aCol ) == 3); in implTestClipping()
211 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
216 countPixel( rDevice, aCol ) == 4); in implTestClipping()
218 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
223 countPixel( rDevice, aCol ) == 121); in implTestClipping()