Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
src/apps/ansel-chart/common.h
Go to the documentation of this file.
1/*
2 * This file is part of darktable,
3 * Copyright (C) 2016 johannes hanika.
4 * Copyright (C) 2016, 2020 Tobias Ellinghaus.
5 * Copyright (C) 2020 Aurélien PIERRE.
6 * Copyright (C) 2020 Pascal Obry.
7 * Copyright (C) 2021 Sakari Kapanen.
8 * Copyright (C) 2022 Martin Bařinka.
9 *
10 * darktable is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * darktable is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with darktable. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24#ifndef DT_APPS_ANSEL_CHART_COMMON_H
25#define DT_APPS_ANSEL_CHART_COMMON_H
26
28
29enum
30{
34 BOTTOM_LEFT = 3
35};
36
37typedef struct image_t
38{
40
41 cairo_surface_t *surface;
42 cairo_pattern_t *image;
44 float *xyz;
45 float scale;
47 float shrink;
48
50
52 gboolean draw_colored;
54
55
56#endif // DT_APPS_ANSEL_CHART_COMMON_H
57
58// clang-format off
59// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
60// vim: shiftwidth=2 expandtab tabstop=2 cindent
61// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
62// clang-format on
63
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
Definition colorspaces.h:98
cairo_pattern_t * image
cairo_surface_t * surface