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

« back to all changes in this revision

Viewing changes to man/gdkDrawRgbImageDithalign.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{Draws an RGB image in the drawable, with an adjustment for dither alignment.}
5
5
\usage{gdkDrawRgbImageDithalign(object, gc, x, y, width, height, dith, rgb.buf, xdith, ydith)}
6
6
\arguments{
7
 
\item{\verb{object}}{[\verb{\link{GdkDrawable}}] The \verb{\link{GdkDrawable}} to draw in (usually a \verb{\link{GdkWindow}}).}
8
 
\item{\verb{gc}}{[\verb{\link{GdkGC}}] The graphics context.}
9
 
\item{\verb{x}}{[integer] The x coordinate of the top-left corner in the drawable.}
10
 
\item{\verb{y}}{[integer] The y coordinate of the top-left corner in the drawable.}
11
 
\item{\verb{width}}{[integer] The width of the rectangle to be drawn.}
12
 
\item{\verb{height}}{[integer] The height of the rectangle to be drawn.}
13
 
\item{\verb{dith}}{[\code{\link{GdkRgbDither}}] A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.}
14
 
\item{\verb{rgb.buf}}{[raw] The pixel data, represented as packed 24-bit data.}
15
 
\item{\verb{xdith}}{[integer] An x offset for dither alignment.}
16
 
\item{\verb{ydith}}{[integer] A y offset for dither alignment.}
 
7
\item{\verb{object}}{The \code{\link{GdkDrawable}} to draw in (usually a \code{\link{GdkWindow}}).}
 
8
\item{\verb{gc}}{The graphics context.}
 
9
\item{\verb{x}}{The x coordinate of the top-left corner in the drawable.}
 
10
\item{\verb{y}}{The y coordinate of the top-left corner in the drawable.}
 
11
\item{\verb{width}}{The width of the rectangle to be drawn.}
 
12
\item{\verb{height}}{The height of the rectangle to be drawn.}
 
13
\item{\verb{dith}}{A \code{\link{GdkRgbDither}} value, selecting the desired dither mode.}
 
14
\item{\verb{rgb.buf}}{The pixel data, represented as packed 24-bit data.}
 
15
\item{\verb{xdith}}{An x offset for dither alignment.}
 
16
\item{\verb{ydith}}{A y offset for dither alignment.}
17
17
}
18
18
\details{This function is useful when drawing dithered images into a window
19
19
that may be scrolled. Pixel (x, y) will be drawn dithered as if its