diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-10 23:30:02 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-11 11:08:25 +0100 |
commit | 14a1d4da2f49c92caaccfae9cab6940ac6e672a5 (patch) | |
tree | be4d83e77cfa75e6291dfbbd8c9550bdb341ee63 /vcl/inc | |
parent | 0f839d5ba9e2cc1e9958c46b901c831b01a7d93d (diff) |
vcl: Fix text rendering with OpenGL
Change-Id: I7784fa81cb6f9a3d6437b2b628c37e7895c84733
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/salgdiimpl.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/unx/salgdi.h | 4 |
3 files changed, 14 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index e9be6653dca0..6f920e515ee0 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -243,6 +243,11 @@ public: const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE; + /** Render 32-bits bitmap with alpha channel */ + virtual bool drawAlphaBitmap( + const SalTwoRect&, + const SalBitmap& rBitmap ) SAL_OVERRIDE; + /** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */ virtual bool drawTransformedBitmap( const basegfx::B2DPoint& rNull, diff --git a/vcl/inc/salgdiimpl.hxx b/vcl/inc/salgdiimpl.hxx index 5d4995201274..4b4b7353df98 100644 --- a/vcl/inc/salgdiimpl.hxx +++ b/vcl/inc/salgdiimpl.hxx @@ -181,6 +181,11 @@ public: const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap ) = 0; + /** Render 32-bits bitmap with alpha channel */ + virtual bool drawAlphaBitmap( + const SalTwoRect&, + const SalBitmap& rBitmap ) = 0; + /** draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system */ virtual bool drawTransformedBitmap( const basegfx::B2DPoint& rNull, diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index 8a5cc0c43bae..2546689b3618 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -251,6 +251,10 @@ public: virtual bool drawAlphaBitmap( const SalTwoRect&, const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE; + + virtual bool drawAlphaBitmap( const SalTwoRect&, + const SalBitmap& rBitmap ); + virtual bool drawTransformedBitmap( const basegfx::B2DPoint& rNull, const basegfx::B2DPoint& rX, |