Learn R Programming

RGtk2 (version 2.8.7)

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

Value

[GdkRgbCmap] The newly created GdkRgbCmap