Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CairoUtil Class Reference

#include "gui/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 44 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

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 35 of file cairo-util.cpp.

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 48 of file cairo-util.cpp.

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 61 of file cairo-util.cpp.

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 74 of file cairo-util.cpp.

+ Collaboration diagram for CairoUtil:

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