GRASS 8 Programmer's Manual 8.6.0dev(2026)-1878fdfec5
Loading...
Searching...
No Matches
cairodriver/erase.c
Go to the documentation of this file.
1/*!
2 \file lib/cairodriver/erase.c
3
4 \brief GRASS cairo display driver - erase screen
5
6 SPDX-FileCopyrightText: 2007-2008 Lars Ahlzen
7 SPDX-FileCopyrightText: GRASS Development Team
8 SPDX-License-Identifier: GPL-2.0-or-later
9
10 \author Lars Ahlzen <lars ahlzen.com> (original contributor)
11 \author Glynn Clements
12 */
13
14#include "cairodriver.h"
15
16/*!
17 \brief Erase screen
18 */
19void Cairo_Erase(void)
20{
21 G_debug(1, "Cairo_Erase");
22
24 cairo_set_source_rgba(cairo, ca.bgcolor_r, ca.bgcolor_g, ca.bgcolor_b,
25 ca.bgcolor_a);
29
30 ca.modified = 1;
31
32 return;
33}
void Cairo_Erase(void)
Erase screen.
GRASS cairo display driver - header file.
struct cairo_state ca
cairo_t * cairo
int G_debug(int, const char *,...) __attribute__((format(printf