[GRASS-dev] problem with Rast_get_c_color()
Martin Landa
landa.martin at gmail.com
Mon Aug 15 11:49:14 EDT 2011
Hi,
when I define
Rast_make_colors(colors, "ryg", (CELL) 1, (CELL) 2);
val = 3;
fn
Rast_get_c_color((const CELL *) &val, &red, &grn, &blu, colors)
returns 1 (color rule defined). I would expect no color rules defined
(return code 0) or am I wrong?
Thanks in advance, Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list