33 color->get_rgba (old_red, blue, green, alpha);
34 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
46 color->get_rgba (red, old_blue, green, alpha);
47 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
59 color->get_rgba (red, blue, old_green, alpha);
60 return Cairo::SolidPattern::create_rgba (red, blue, green, alpha);
72 color->get_rgba (red, blue, green, old_alpha);
74 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.