ass_drawing_bbox
Calculate the bounding box, size, and center of an Aegisub vector drawing in its own scale space, including Bezier control handles, to match VSFilter/Aegisub positioning.
Instructions
Bounding box / size / centre of a drawing.
Coordinates are in the drawing's own scale space (\p level). The box
is the control polygon box -- Bézier/B-spline handles included -- matching
what VSFilter/Aegisub use for positioning.
Returns {source, doc_id, index, scale, bbox, size, center, centre, normalised_bbox, normalised_size, point_count}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| index | No | ||
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||