gdkDrawRgb32Image {RGtk2} | R Documentation |
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.
gdkDrawRgb32Image(object, gc, x, y, width, height, dith, buf)
|
[GdkDrawable ] The GdkDrawable to draw in (usually a GdkWindow ). |
|
[GdkGC ] The graphics context. |
|
[integer] The x coordinate of the top-left corner in the drawable. |
|
[integer] The y coordinate of the top-left corner in the drawable. |
|
[integer] The width of the rectangle to be drawn. |
|
[integer] The height of the rectangle to be drawn. |
|
[GdkRgbDither ] A GdkRgbDither value, selecting the desired dither mode. |
|
[raw] The pixel data, represented as padded 32-bit data. |
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.
Derived by RGtkGen from GTK+ documentation