Skip to main content

Module positioning

Module positioning 

Source
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§

BoundingBox
Bounding box for text
PositionConfig
Configuration for position calculation
PositionInfo
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