#include "stage/draw/cairo-util.hpp"
- 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 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...
|
|
◆ 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
-
The | new 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
-
The | new 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
-
The | new 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
-
The | new value for the alpha component of the colour. |
- Returns
- The new pattern.
Definition at line 65 of file cairo-util.cpp.
The documentation for this class was generated from the following files: