1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __GIMP_PICKABLE_CONTIGUOUS_REGION_H__
19 #define __GIMP_PICKABLE_CONTIGUOUS_REGION_H__
20 
21 
22 GeglBuffer * gimp_pickable_contiguous_region_by_seed                (GimpPickable        *pickable,
23                                                                      gboolean             antialias,
24                                                                      gfloat               threshold,
25                                                                      gboolean             select_transparent,
26                                                                      GimpSelectCriterion  select_criterion,
27                                                                      gboolean             diagonal_neighbors,
28                                                                      gint                 x,
29                                                                      gint                 y);
30 
31 GeglBuffer * gimp_pickable_contiguous_region_by_color               (GimpPickable        *pickable,
32                                                                      gboolean             antialias,
33                                                                      gfloat               threshold,
34                                                                      gboolean             select_transparent,
35                                                                      GimpSelectCriterion  select_criterion,
36                                                                      const GimpRGB       *color);
37 
38 GeglBuffer * gimp_pickable_contiguous_region_by_line_art            (GimpPickable        *pickable,
39                                                                      GimpLineArt         *line_art,
40                                                                      gint                 x,
41                                                                      gint                 y);
42 
43 #endif  /*  __GIMP_PICKABLE_CONTIGUOUS_REGION_H__ */
44