Lines Matching refs:rDevice
66 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()
93 void implTestLineClip(const BitmapDeviceSharedPtr& rDevice) in implTestLineClip() argument
96 rDevice->clear(aBgCol); in implTestLineClip()
101 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_PAINT, mpClipMask ); in implTestLineClip()
105 rDevice->getPixel(aPt3) != aBgCol); in implTestLineClip()
107 countPixel( rDevice, in implTestLineClip()
108 rDevice->getPixel(aPt3) ) == 4); in implTestLineClip()
110 rDevice->drawLine( aPt1, aPt2, aCol, DrawMode_XOR, mpClipMask ); in implTestLineClip()
112 countPixel( rDevice, in implTestLineClip()
113 rDevice->getPixel(aPt3) ) == 121); in implTestLineClip()
116 void implTestFillClip(const BitmapDeviceSharedPtr& rDevice) in implTestFillClip() argument
118 rDevice->clear(Color(0)); in implTestFillClip()
122 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestFillClip()
129 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30); in implTestFillClip()
131 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestFillClip()
136 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121); in implTestFillClip()
138 rDevice->fillPolyPolygon( basegfx::B2DPolyPolygon( in implTestFillClip()
144 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30); in implTestFillClip()
147 void implTestBmpClip(const BitmapDeviceSharedPtr& rDevice) in implTestBmpClip() argument
151 rDevice )); in implTestBmpClip()
159 rDevice->clear(aCol1); in implTestBmpClip()
160 rDevice->drawBitmap(pBmp, in implTestBmpClip()
168 countPixel( rDevice, in implTestBmpClip()
169 rDevice->getPixel(aPt) ) == 5); in implTestBmpClip()
172 void implTestMaskColorClip(const BitmapDeviceSharedPtr& rDevice) in implTestMaskColorClip() argument
174 BitmapDeviceSharedPtr pBmp( createBitmapDevice( rDevice->getSize(), in implTestMaskColorClip()
193 rDevice->drawMaskedColor( in implTestMaskColorClip()
201 countPixel( rDevice, rDevice->getPixel(aPt) ) == 41); in implTestMaskColorClip()