diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-13 22:24:35 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-15 12:17:43 +0100 |
commit | b190ffe58796875eceaf340501a8832e222514fb (patch) | |
tree | 1369bc5d88f7f8884d8cf2336d74798f3de45716 /vcl/win | |
parent | fbe77f453cc9f6840b12d10982d972d6ef276549 (diff) |
vcl: Add DrawAlphaTexture to directly render Cairo surface
Change-Id: I7aa824578b14999d0ef667a5bcfccd731f1d3b64
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 0ec756645f11..30c62ef456de 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -202,9 +202,9 @@ void WinLayout::DrawText(SalGraphics& rGraphics) const aRects.mnDestWidth = width; aRects.mnDestHeight = height; - // FIXME We don't have a method that could paint a texture with - // transparency yet, use it when we have it - pImpl->DrawTexture(aTexture, aRects); + pImpl->PreDraw(); + pImpl->DrawAlphaTexture(aTexture, aRects); + pImpl->PostDraw(); } DeleteObject(hBitmap); |