|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
|
GRASS cairo display driver - colors management. More...
#include "cairodriver.h"
Go to the source code of this file.
Functions | |
| void | Cairo_Color (int r, int g, int b) |
| Set source color (opaque) | |
GRASS cairo display driver - colors management.
SPDX-FileCopyrightText: 2007-2008 Lars Ahlzen SPDX-FileCopyrightText: GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file cairodriver/color.c.
Set source color (opaque)
This color will then be used for any subsequent drawing operation until a new source pattern is set.
| r | red color value |
| g | green color value |
| b | blue color value |
Definition at line 26 of file cairodriver/color.c.
References b, cairo, CAIROCOLOR, g, G_debug(), and r.
Referenced by Cairo_Driver().