Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkRgbCmapNew

gdkRgbCmapNew


Description

Creates a new GdkRgbCmap structure. The cmap maps color indexes to RGB colors. If n.colors is less than 256, then images containing color values greater than or equal to n.colors will produce undefined results, including possibly segfaults.

Usage

gdkRgbCmapNew(colors)

Arguments

colors

The colors, represented as 0xRRGGBB integer values.

Value

[GdkRgbCmap] The newly created GdkRgbCmap

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.