42 color->get_rgba (old_red, blue, green, alpha);
43 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
55 color->get_rgba (red, old_blue, green, alpha);
56 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
68 color->get_rgba (red, blue, old_green, alpha);
69 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
81 color->get_rgba (red, blue, green, old_alpha);
83 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
static RefPtr< SolidPattern > pattern_set_blue(const RefPtr< SolidPattern >, double blue)
Make a new SolidPattern from an old one, changing the blue component of the colour.
static RefPtr< SolidPattern > pattern_set_red(const RefPtr< SolidPattern > color, double red)
Make a new SolidPattern from an old one, changing the red component of the colour.
static RefPtr< SolidPattern > pattern_set_green(const RefPtr< SolidPattern >, double green)
Make a new SolidPattern from an old one, changing the green component of the colour.
static RefPtr< SolidPattern > pattern_set_alpha(const RefPtr< SolidPattern >, double alpha)
Make a new SolidPattern from an old one, changing the alpha component of the colour.
Lumiera GTK UI implementation root.
Utility functions for working with elements from the Cairo vector drawing library.