LazReport: Fix transparent roundrect powerpdf export when there is a shadow, bug report and fix tip by @HumbertoSales

git-svn-id: trunk@61492 -
This commit is contained in:
jesus 2019-06-30 18:51:43 +00:00
parent e0335c7f49
commit ad42b120af

View File

@ -416,8 +416,12 @@ begin
// draw roundrect
Data.ShapeType := frstRoundRect;
if View.FillColor=clNone then
Data.FillColor := clNone
if View.FillColor=clNone then begin
if not View.ShowGradian and (View.ShadowWidth>0) then
Data.FillColor := clWhite
else
Data.FillColor := clNone
end
else
Data.FillColor := ColorToRGB(View.FillColor);
if View.Frames=[] then