Learn R Programming

RGtk2 (version 2.8.8)

gdkDrawGrayImage: gdkDrawGrayImage

Description

Draws a grayscale image in the drawable.

Usage

gdkDrawGrayImage(object, gc, x, y, width, height, dith, buf)

Arguments

object
[GdkDrawable] The GdkDrawable to draw in (usually a GdkWindow).
gc
[GdkGC] The graphics context.
x
[integer] The x coordinate of the top-left corner in the drawable.
y
[integer] The y coordinate of the top-left corner in the drawable.
width
[integer] The width of the rectangle to be drawn.
height
[integer] The height of the rectangle to be drawn.
dith
[GdkRgbDither] A GdkRgbDither value, selecting the desired dither mode.
buf
[raw] The pixel data, represented as 8-bit gray values.