LazReport: LazReport: fix PowerPDF exporter of roundrects filled without gradients.

git-svn-id: trunk@57629 -
This commit is contained in:
jesus 2018-04-08 21:46:57 +00:00
parent 2753a83892
commit 09f7d6aff2

View File

@ -403,9 +403,10 @@ begin
end; end;
end else end else
begin begin
Data.GradientColor := clNone;
Data.ShapeType := frstRoundRect; Data.ShapeType := frstRoundRect;
Data.FillColor := ColorToRGB(View.ShadowColor); Data.FillColor := View.ShadowColor;
Data.FrameColor := Data.FillColor; //ColorToRGB(View.FrameColor); Data.FrameColor := clNone;
Data.FrameWidth := 0; Data.FrameWidth := 0;
Data.FrameStyle := frsSolid; Data.FrameStyle := frsSolid;
SWidth := trunc(View.ShadowWidth * PDFEscx + 0.5); SWidth := trunc(View.ShadowWidth * PDFEscx + 0.5);