Lumiera  0.pre.03
»edit your freedom«
CairoUtil Class Reference

#include "stage/draw/cairo-util.hpp"

Description

Todo:
this is not a real entity; consider to turn this into a set of free functions!

Definition at line 35 of file cairo-util.hpp.

Static Public Member Functions

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. More...
 
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. More...
 
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. More...
 
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. More...
 

Member Function Documentation

◆ pattern_set_red()

RefPtr< SolidPattern > pattern_set_red ( const RefPtr< SolidPattern >  color,
double  red 
)
static

Make a new SolidPattern from an old one, changing the red component of the colour.

Parameters
Thenew value for the red component of the colour.
Returns
The new pattern.

Definition at line 26 of file cairo-util.cpp.

◆ pattern_set_green()

RefPtr< SolidPattern > pattern_set_green ( const RefPtr< SolidPattern >  color,
double  green 
)
static

Make a new SolidPattern from an old one, changing the green component of the colour.

Parameters
Thenew value for the green component of the colour.
Returns
The new pattern.

Definition at line 39 of file cairo-util.cpp.

◆ pattern_set_blue()

RefPtr< SolidPattern > pattern_set_blue ( const RefPtr< SolidPattern >  color,
double  blue 
)
static

Make a new SolidPattern from an old one, changing the blue component of the colour.

Parameters
Thenew value for the blue component of the colour.
Returns
The new pattern.

Definition at line 52 of file cairo-util.cpp.

◆ pattern_set_alpha()

RefPtr< SolidPattern > pattern_set_alpha ( const RefPtr< SolidPattern >  color,
double  alpha 
)
static

Make a new SolidPattern from an old one, changing the alpha component of the colour.

Parameters
Thenew value for the alpha component of the colour.
Returns
The new pattern.

Definition at line 65 of file cairo-util.cpp.

+ Collaboration diagram for CairoUtil:

The documentation for this class was generated from the following files: