Kaydet (Commit) 44f6d7a2 authored tarafından matteocam's avatar matteocam Kaydeden (comit) Fridrich Štrba

Transparency with DrawTransparent in addition to DrawRect

Change-Id: I9e8221652b74a3004857ef4b12c6b45563a373b5
(cherry picked from commit 2f866000)
üst 6b490f6b
......@@ -149,11 +149,14 @@ void OutputDevice::ImplDrawTextRect( long nBaseX, long nBaseY,
nX += nBaseX;
nY += nBaseY;
//mpGraphics->DrawRect( nX, nY, nWidth, nHeight, this ); // original code
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);
DrawTransparent(aPolyPoly, 50);
// Code above is wrong: it just messes up.
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment