diff options
author | matteocam <matteo.campanelli@gmail.com> | 2014-05-28 17:11:18 -0400 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-06-30 22:54:39 +0200 |
commit | 7b59e44925b4c46e682661f5468d7aa2d7d3231d (patch) | |
tree | 3f2c4e1f8351066200742c52504aa9899531bab5 /vcl/source/outdev | |
parent | be34ea6f62a357eaaab01ce14e2882528015e1d1 (diff) |
Cleaned up code from tranparency in vcl. Trying setfillcolor from edit attrs
Change-Id: I263012332e43573f260ac8c54612576eb21a11a1
(cherry picked from commit 02385eb4d8de3c5a57511d8bae3c42a523470838)
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r-- | vcl/source/outdev/text.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 33ff382c29b4..fcdcb9a2532f 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -149,14 +149,7 @@ void OutputDevice::ImplDrawTextRect( long nBaseX, long nBaseY, nX += nBaseX; nY += nBaseY; - //mpGraphics->DrawRect( nX, nY, nWidth, nHeight, this ); // original code - - Rectangle aRect( Point( nX, nY ), Size( nWidth+1, nHeight+1 ) ); - Polygon aPoly( aRect ); - PolyPolygon aPolyPoly(aPoly); - Color aColor = RGB_COLORDATA(0x66,0x66, 0xFF); - SetTextFillColor(aColor); - DrawTransparent(aPolyPoly, 70); + mpGraphics->DrawRect( nX, nY, nWidth, nHeight, this ); // original code } |