GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72999
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cairodriver/color.c File Reference

GRASS cairo display driver - colors management. More...

#include "cairodriver.h"
Include dependency graph for cairodriver/color.c:

Go to the source code of this file.

Functions

void Cairo_Color (int r, int g, int b)
 Set source color (opaque) More...
 

Detailed Description

GRASS cairo display driver - colors management.

(C) 2007-2008 by Lars Ahlzen and the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Lars Ahlzen <lars ahlzen.com> (original contibutor)
Glynn Clements

Definition in file cairodriver/color.c.

Function Documentation

void Cairo_Color ( int  r,
int  g,
int  b 
)

Set source color (opaque)

This color will then be used for any subsequent drawing operation until a new source pattern is set.

Parameters
rred color value
ggreen color value
bblue color value

Definition at line 27 of file cairodriver/color.c.

References cairo, CAIROCOLOR, and G_debug().

Referenced by Cairo_Driver().