tdf#160787 Calc active cell cursor has small transparent corners
clearly I don't understand something about B2DPolyPolygon, revert part
of
commit 7b1405689d
Author: Noel Grandin <noelgrandin@gmail.com>
Date: Fri Apr 19 22:56:04 2024 +0200
reduce the number of drawing primitives we create in
OverlaySelection
Change-Id: If8f07d021543e2686a3acfc6a0d38b2ebc962de4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166543
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
9791649380
commit
1f86fdd4b5
1 changed files with 10 additions and 0 deletions
|
@ -214,6 +214,16 @@ namespace sdr::overlay
|
|||
aRGBColor = basegfx::BColor(1.0, 1.0, 1.0);
|
||||
}
|
||||
|
||||
aRetval.resize(nCount);
|
||||
for(sal_uInt32 a(0);a < nCount; a++)
|
||||
{
|
||||
basegfx::B2DPolygon aPolygon(basegfx::utils::createPolygonFromRect(maRanges[a]));
|
||||
aRetval[a] =
|
||||
new drawinglayer::primitive2d::PolyPolygonColorPrimitive2D(
|
||||
basegfx::B2DPolyPolygon(std::move(aPolygon)),
|
||||
aRGBColor);
|
||||
}
|
||||
|
||||
basegfx::B2DPolyPolygon aPolyPolygon;
|
||||
aPolyPolygon.reserve(nCount);
|
||||
for(sal_uInt32 a(0);a < nCount; a++)
|
||||
|
|
Loading…
Reference in a new issue