pangoGravityToRotation {RGtk2} | R Documentation |
Converts a PangoGravity
value to its natural rotation in radians.
gravity
should not be PANGO_GRAVITY_AUTO
.
pangoGravityToRotation(base.gravity)
|
gravity to query |
Note that pangoMatrixRotate
takes angle in degrees, not radians.
So, to call pangoMatrixRotate
with the output of this function
you should multiply it by (180. / G_PI).
Since 1.16
[numeric] the rotation value corresponding to gravity
.
Derived by RGtkGen from GTK+ documentation