Package: pango

Function pango-gravity-to-rotation

Lambda List

pango-gravity-to-rotation (gravity)

Arguments

script -- a pango-script value to query

Return Value

A double with the rotation value corresponding to gravity.

Details

Converts a pangogravity value to its natural rotation in radians. gravity should not be :auto.

Note that the function pango-matrix-rotate takes angle in degrees, not radians. So, to call the function pango-matrix-rotate with the output of this function you should multiply it by (180 / pi).
 

See also

2021-1-5