Expand description
Advanced positioning and alignment calculations based on libass
This module provides positioning calculations that match libass behavior, including proper anchor point handling, rotation origins, and alignment.
Structs§
- Bounding
Box - Bounding box for text
- Position
Config - Configuration for position calculation
- Position
Info - Calculated position with anchor and origin points
Functions§
- convert_
ssa_ alignment - Convert SSA legacy alignment to ASS alignment
- scale_
coordinates - Handle PlayResX/PlayResY coordinate scaling