tvplanit: Fix weekend bars not being rotated when printing rotated Gantt view. Prepare printing a limited Gantt date range.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8461 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-09-08 21:00:40 +00:00
parent e435fdb67d
commit c95d86dba0
3 changed files with 34 additions and 9 deletions

View File

@ -1696,6 +1696,22 @@ var
FLastContact := RenderControl.GetLastPrintLine;
end;
itGanttView:
begin
RenderControl.RenderToCanvas(
ACanvas,
Rect(StartX, StartY, StopX, StopY),
Element.Rotation,
Scale,
GetDate(Element),
0, // to be completed...
0,
Granularity,
true
);
end;
else
RenderControl.RenderToCanvas(
ACanvas,