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

« back to all changes in this revision

Viewing changes to man/gdkPixbufRenderPixmapAndMask.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:
8
8
given drawables should use \code{\link{gdkDrawPixbuf}} and \code{\link{gdkPixbufRenderThresholdAlpha}}.}
9
9
\usage{gdkPixbufRenderPixmapAndMask(object, alpha.threshold = 127)}
10
10
\arguments{
11
 
\item{\verb{object}}{[\verb{\link{GdkPixbuf}}]  A pixbuf.}
12
 
\item{\verb{alpha.threshold}}{[integer]  Threshold value for opacity values.}
 
11
\item{\verb{object}}{A pixbuf.}
 
12
\item{\verb{alpha.threshold}}{Threshold value for opacity values.}
13
13
}
14
14
\details{The pixmap that is created is created for the colormap returned
15
15
by \code{\link{gdkRgbGetColormap}}. You normally will want to instead use
17
17
\code{\link{gdkPixbufRenderPixmapAndMaskForColormap}}.
18
18
  
19
19
If the pixbuf does not have an alpha channel, then *\code{mask.return} will be set
20
 
to \code{NULL}.  }
 
20
to \code{NULL}.}
21
21
\value{
22
22
A list containing the following elements:
23
 
\item{\verb{pixmap.return}}{[\verb{\link{GdkPixmap}}]  Location to store a pointer to the created pixmap,
 
23
\item{\verb{pixmap.return}}{Location to store a pointer to the created pixmap,
24
24
  or \code{NULL} if the pixmap is not needed.}
25
 
\item{\verb{mask.return}}{[\verb{\link{GdkBitmap}}]  Location to store a pointer to the created mask,
 
25
\item{\verb{mask.return}}{Location to store a pointer to the created mask,
26
26
  or \code{NULL} if the mask is not needed.}
27
27
}
28
28
\author{Derived by RGtkGen from GTK+ documentation}