How can I get a text bounding box in a python script?
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
5589
Age (days ago)
5589
Last active (days ago)
2 comments
3 participants
participants (3)
-
Alvin Penner
-
Bernd D.
-
Terry Brown