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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to