gdkRgbCmapNew: gdkRgbCmapNew

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

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

1

Arguments

colors

The colors, represented as 0xRRGGBB integer values.

Value

[GdkRgbCmap] The newly created GdkRgbCmap

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gdkRgbCmapNew in RGtk2...