~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/pangoGravityToRotation.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
\description{Converts a \code{\link{PangoGravity}} value to its natural rotation in radians.
5
5
\code{gravity} should not be \code{PANGO_GRAVITY_AUTO}.}
6
6
\usage{pangoGravityToRotation(base.gravity)}
7
 
\arguments{\item{\verb{base.gravity}}{[\code{\link{PangoGravity}}]  gravity to query}}
 
7
\arguments{\item{\verb{base.gravity}}{gravity to query}}
8
8
\details{Note that \code{\link{pangoMatrixRotate}} takes angle in degrees, not radians.
9
9
So, to call \code{\link{pangoMatrixRotate}} with the output of this function
10
 
you should multiply it by (180. / G_PI).  
11
 
 
12
 
  Since  1.16}
 
10
you should multiply it by (180. / G_PI).
 
11
  Since 1.16}
13
12
\value{[numeric]  the rotation value corresponding to \code{gravity}.}
14
13
\author{Derived by RGtkGen from GTK+ documentation}
15
14
\keyword{internal}