Resolves tdf#167971 - Dialcontrol with clean background

For some reason the DrawEllipsis() command paints rather a
rounded rectangle than a circle; DrawPie() wiorks much better

Change-Id: I60a2f9df30d47479a2367c0d0fbbd895859190c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190968
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
This commit is contained in:
Heiko Tietze
2025-09-15 17:04:50 +02:00
committed by Heiko Tietze
parent f6f3f2cb61
commit b9cc944dae
+1 -1
View File
@@ -212,7 +212,7 @@ void DialControlBmp::DrawBackground()
SetFillColor( GetBackgroundColor() );
tools::Rectangle aEllipseRect = maRect;
aEllipseRect.shrink(DIAL_OUTER_WIDTH);
DrawEllipse( aEllipseRect );
DrawPie(aEllipseRect, aEllipseRect.TopLeft(), aEllipseRect.TopLeft());
}
DialControl::DialControl_Impl::DialControl_Impl(OutputDevice& rReference) :