You've already forked lazarus-ccr
tvplanit: Preparing for multi-line day captions in TVpGanttView. Not working yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -280,6 +280,12 @@ begin
|
||||
strLen := RenderCanvas.TextWidth(str);
|
||||
P := Point((R.Left + R.Right - strLen) div 2, (R.Top + R.Bottom - strH) div 2);
|
||||
TPSTextOut(RenderCanvas, Angle, RenderIn, P.X, P.Y, str);
|
||||
|
||||
// To do: replace above code for multi-line text, ie.
|
||||
// strLen := GetCanvasTextWidth(RenderCanvas, FDayFont, str);
|
||||
// TPSTextRect(RencerCanvas, Angle, RenderIn, R, P.X, P.Y, str);
|
||||
// BUT: TPSTextRect does not yet exist...
|
||||
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user