fix content all transparent in kit mode after drawing math object
commit e0d4d178ca
Date: Mon Jan 13 15:03:05 2025 +0200
Change alpha behavour of OutputDevice::SetFillColor
It is pretty ugly bad on several levels.
added a false argument to the similar calls for chart, etc, but not
to this one, probably because it wasn't there at the time. So this
route cleared the destination buffer.
Change-Id: I7cfcf8cd296fc012dde6d3568cbcbb93da9fff21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200094
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -221,7 +221,7 @@ void LokStarMathHelper::PaintAllInPlaceOnTile(VirtualDevice& rDevice, int nOutpu
|
||||
const int nPartForCurView = pCurView->getPart();
|
||||
|
||||
// Resizes the virtual device to contain the entries context
|
||||
rDevice.SetOutputSizePixel({ nOutputWidth, nOutputHeight });
|
||||
rDevice.SetOutputSizePixel({ nOutputWidth, nOutputHeight }, /*bErase*/ false);
|
||||
|
||||
auto popIt = rDevice.ScopedPush(vcl::PushFlags::MAPMODE);
|
||||
MapMode aMapMode(rDevice.GetMapMode());
|
||||
|
||||
Reference in New Issue
Block a user