Package: pango

Function pango:gravity-to-rotation

Lambda List

pango:gravity-to-rotation (gravity)

Arguments

script -- a pango:script value to query

Return Value

The double float with the rotation value corresponding to gravity.

Details

Converts a pango:gravity value to its natural rotation in radians. The gravity argument should not be the :auto value. Note that the pango:matrix-rotate function takes angle in degrees, not radians. So, to call the pango:matrix-rotate function with the output of this function you should multiply it by (180 / pi).
 

See also

2024-2-22