GNOME Bugzilla – Bug 662655
Support Opacity for LinearGradientBrush and RadialGradientBrush elements
Last modified: 2011-11-01 11:55:24 UTC
Created attachment 199897 [details] [review] adds Opacity support for LinearGradientBrush and RadialGradientBrush elements Included patch adds Opacity support for LinearGradientBrush and RadialGradientBrush elements.
Created attachment 199898 [details] example XPS document showing LinearGradientBrush and RadialGradientBrush with Opacity
+ brush->opacity = g_strtod (values[i], NULL); Wouldn't it be better to use g_ascii_strtod here?
I cannot get this to produce unexpected results by changing the locale, but yes I agree that g_ascii_strtod would be better.
Created attachment 200077 [details] [review] adds Opacity support for LinearGradientBrush and RadialGradientBrush elements, uses g_ascii_strtod
Review of attachment 200077 [details] [review]: Pushed to git master. Thanks!