Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SynPdf.pas
Original file line number Diff line number Diff line change
Expand Up @@ -10614,6 +10614,7 @@ procedure DrawLine(var P: TPoint; aH: Single);
if WithClip then begin
Canvas.GRestore;
fFillColor := -1; // force set drawing color
fStrokeColor := -1; // Ensure stroke color is reset after a GRestore
end;
if not Canvas.FNewPath then begin
if WithClip then
Expand Down