pangoGravityToRotation: pangoGravityToRotation

Description Usage Arguments Details Value Author(s)

View source: R/pangoFuncs.R

Description

Converts a PangoGravity value to its natural rotation in radians. gravity should not be PANGO_GRAVITY_AUTO.

Usage

1
pangoGravityToRotation(base.gravity)

Arguments

base.gravity

[PangoGravity] gravity to query

Details

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

Value

[numeric] the rotation value corresponding to gravity.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.