gtk_rgba_parse retunr wrong color



Hi,

Someone knows why gdk_rgba_parse returns worng color?

I have this gdk_rgba_parse(&front_color,"rgb(8,178,23)");
   cairo_set_source_rgba(cr, front_color.red, front_color.blue, 
front_color.green, front_color.alpha);

The color should be green but returns blue...

Thanks


---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]