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

« back to all changes in this revision

Viewing changes to man/gdkPixbufNew.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:
1
1
\alias{gdkPixbufNew}
2
2
\name{gdkPixbufNew}
3
3
\title{gdkPixbufNew}
4
 
\description{Creates a new \verb{\link{GdkPixbuf}} structure and allocates a buffer for it.  The 
 
4
\description{Creates a new \code{\link{GdkPixbuf}} structure and allocates a buffer for it.  The 
5
5
buffer has an optimal rowstride.  Note that the buffer is not cleared;
6
6
you will have to fill it completely yourself.}
7
7
\usage{gdkPixbufNew(colorspace, has.alpha, bits.per.sample, width, height)}
8
8
\arguments{
9
 
\item{\verb{colorspace}}{[\code{\link{GdkColorspace}}]  Color space for image}
10
 
\item{\verb{has.alpha}}{[logical]  Whether the image should have transparency information}
11
 
\item{\verb{bits.per.sample}}{[integer]  Number of bits per color sample}
12
 
\item{\verb{width}}{[integer]  Width of image in pixels, must be > 0}
13
 
\item{\verb{height}}{[integer]  Height of image in pixels, must be > 0}
 
9
\item{\verb{colorspace}}{Color space for image}
 
10
\item{\verb{has.alpha}}{Whether the image should have transparency information}
 
11
\item{\verb{bits.per.sample}}{Number of bits per color sample}
 
12
\item{\verb{width}}{Width of image in pixels, must be > 0}
 
13
\item{\verb{height}}{Height of image in pixels, must be > 0}
14
14
}
15
 
\value{[\verb{\link{GdkPixbuf}}]  A newly-created \verb{\link{GdkPixbuf}} with a reference count of 1, or 
 
15
\value{[\code{\link{GdkPixbuf}}]  A newly-created \code{\link{GdkPixbuf}} with a reference count of 1, or 
16
16
\code{NULL} if not enough memory could be allocated for the image buffer.}
17
17
\author{Derived by RGtkGen from GTK+ documentation}
18
18
\keyword{internal}