Lines Matching refs:rDevice

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()
99 rDevice->fillPolyPolygon( in implTestCornerCases()
104 ASSERT_TRUE(countPixel( rDevice, aCol ) == 0) << "number of rendered pixel is not 0"; in implTestCornerCases()
106 rDevice->fillPolyPolygon( in implTestCornerCases()
111 ASSERT_TRUE(countPixel( rDevice, aCol ) == 0) << "number of rendered pixel is not 0"; in implTestCornerCases()
113 rDevice->fillPolyPolygon( in implTestCornerCases()
118 ASSERT_TRUE(countPixel( rDevice, aCol ) == 11) << "number of rendered pixel is not 11"; in implTestCornerCases()
120 ASSERT_TRUE(rDevice->getPixel(aPt1) == aCol) << "first pixel set"; in implTestCornerCases()
122 rDevice->fillPolyPolygon( in implTestCornerCases()
127 ASSERT_TRUE(countPixel( rDevice, aCol ) == 22) << "number of rendered pixel is not 22"; in implTestCornerCases()
129 ASSERT_TRUE(rDevice->getPixel(aPt2) == aCol) << "last pixel set"; in implTestCornerCases()
131 rDevice->fillPolyPolygon( in implTestCornerCases()
136 ASSERT_TRUE(countPixel( rDevice, aCol ) == 31) << "number of rendered pixel is not 31"; in implTestCornerCases()
138 ASSERT_TRUE(rDevice->getPixel(aPt3) == aCol) << "top-middle pixel set"; in implTestCornerCases()
140 rDevice->fillPolyPolygon( in implTestCornerCases()
145 ASSERT_TRUE(countPixel( rDevice, aCol ) == 40) << "number of rendered pixel is not 40"; in implTestCornerCases()
147 ASSERT_TRUE(rDevice->getPixel(aPt4) == aCol) << "bottom-middle pixel set"; in implTestCornerCases()
154 rDevice->fillPolyPolygon( in implTestCornerCases()
158 ASSERT_TRUE(countPixel( rDevice, aCol ) == 43) << "number of rendered pixel is not 43"; in implTestCornerCases()
161 void implTestClipping(const BitmapDeviceSharedPtr& rDevice) in implTestClipping() argument
163 rDevice->clear(Color(0)); in implTestClipping()
172 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
176 ASSERT_TRUE(countPixel( rDevice, aCol ) == 1) << "number of rendered pixel is not 1"; in implTestClipping()
178 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
182 ASSERT_TRUE(countPixel( rDevice, aCol ) == 2) << "number of rendered pixel is not 2"; in implTestClipping()
184 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
188 ASSERT_TRUE(countPixel( rDevice, aCol ) == 3) << "number of rendered pixel is not 3"; in implTestClipping()
190 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
194 ASSERT_TRUE(countPixel( rDevice, aCol ) == 4) << "number of rendered pixel is not 4"; in implTestClipping()
196 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestClipping()
200 ASSERT_TRUE(countPixel( rDevice, aCol ) == 121) << "number of rendered pixel is not 121"; in implTestClipping()