
29 Dec
2008
29 Dec
'08
9:58 p.m.
Hello,
I try to write a python script that help drawing diagrams (i.e. syntax diagrams). A node in this typ of diagram, is a rectangle with rounded edges and a centered text caption in it. In the script, I need the bounding box of the text, for the calculation of the correct node rectangle size, to hold the whole text in it. But how can I get the bounding box? Is there somebody that can point me to a solution?
Best regards, Bernd