diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-09 15:58:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-11 08:57:13 +0000 |
commit | cfb2a587bc59d2a0ff520dd09393f898506055d6 (patch) | |
tree | 851ad7f79b1e453d74d3eba38047b1b70a6f7917 /canvas/source/directx/dx_vcltools.cxx | |
parent | b8c66c7f9b25ff88994aef92f56f61f176dc8a6f (diff) |
rename BitmapEx::GetAlpha to GetAlphaMask
to ease the reading of code related to an upcoming patch to convert
transparency to alpha, since there is already a GetAlpha in Color.
Change-Id: I1af0f8f6dd94acfe4673c8556c7aff6c20da3f7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145209
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/directx/dx_vcltools.cxx')
-rw-r--r-- | canvas/source/directx/dx_vcltools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index 9d5d3e85834b..33c3bd275e62 100644 --- a/canvas/source/directx/dx_vcltools.cxx +++ b/canvas/source/directx/dx_vcltools.cxx @@ -165,7 +165,7 @@ namespace dxcanvas::tools "::dxcanvas::tools::bitmapFromVCLBitmapEx(): " "Unable to acquire read access to bitmap" ); - Bitmap aAlpha( rBmpEx.GetAlpha().GetBitmap() ); + Bitmap aAlpha( rBmpEx.GetAlphaMask().GetBitmap() ); Bitmap::ScopedReadAccess pAlphaReadAccess( aAlpha ); |