ass_scale_drawing
Scale vector drawings and their clips in selected ASS subtitle lines by a factor around a common origin, preserving relative positions. Optionally limit to drawings or preview changes without editing.
Instructions
Scale the drawing part of each selected line (and its clips) by factor.
This is the classic "make everything on the line bigger" helper. The
drawing part and every clip are scaled about one common origin -- the
drawing's bbox centre when the line has a drawing, otherwise the first
clip's own centre -- so the drawing and its clips keep their relative
position instead of each drifting toward its own centre. Coordinates remain
in each clip's own scale space (the \clip(N,...) level is preserved) and
are rounded to integers with the module's explicit half-away-from-zero rule.
include_clips=False scales only the \p drawing. dry_run=True
reports the new text without touching the document.
Returns {doc_id, factor, include_clips, dry_run, changed, applied, lines: [{index, old_text, text, drawing_scaled, clips_scaled}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| factor | No | ||
| dry_run | No | ||
| selection | No | ||
| include_clips | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||