From: <rba...@mu...> - 2016-05-27 08:31:26
|
2016.05.27 Bonjour tous, I need infos about the bounding box. The script -------------------------- l1 = path.line(0,0,3,2) b1 = l1.bbox() print(b1) print(b1.left()) print(b1.bottom()) print(b1.width()) print(b1.height()) ---------------------------- prints: ---------------------------- <pyx.bbox.bbox_pt object at 0x7fee43d964e0> (0.000000 t + 0.000000 u + 0.000000 v + 0.000000 w + 0.000000 x) m (0.000000 t + 0.000000 u + 0.000000 v + 0.000000 w + 0.000000 x) m (0.030000 t + 0.000000 u + 0.000000 v + 0.000000 w + 0.000000 x) m (0.020000 t + 0.000000 u + 0.000000 v + 0.000000 w + 0.000000 x) m ----------------------------- What is t, u, v, w, x and m? Merci pour tout René Bastian |