Trying to track down the problem I got to the line inside the TGraphLink.DrawText procedure:
- Code: Select all
ExtTextOut(DC, TextCenter.X, TextCenter.Y, TextFlags, nil,
PChar(TextToShow), Length(TextToShow), nil);
I can't understand what's exactly going on there, code seems to be fine, but does weird things.
Maybe the implicit cast to PChar leaves some bad character into memory without nulling the next character.
This applies to:
TSimpleGraph 2.80
Delphi XE2
Christian