Learn R Programming

RGtk2 (version 2.8.7)

gdkDrawRgb32Image: gdkDrawRgb32Image

Description

Draws a padded RGB image in the drawable. The image is stored as one pixel per 32-bit word. It is laid out as a red byte, a green byte, a blue byte, and a padding byte.

Usage

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

Arguments

Details

It's unlikely that this function will give significant performance gains in practice. In my experience, the performance gain from having pixels aligned to 32-bit boundaries is cancelled out by the increased memory bandwidth.