mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 01:09:12 +02:00
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:
parent
e0335c7f49
commit
ad42b120af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user