~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/base/gimphistogram.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
 
 * gimphistogram module Copyright (C) 1999 Jay Cox <jaycox@earthlink.net>
 
4
 * gimphistogram module Copyright (C) 1999 Jay Cox <jaycox@gimp.org>
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
7
7
 * it under the terms of the GNU General Public License as published by
22
22
#define __GIMP_HISTOGRAM_H__
23
23
 
24
24
 
25
 
GimpHistogram * gimp_histogram_new         (GimpBaseConfig       *config);
26
 
void            gimp_histogram_free        (GimpHistogram        *histogram);
27
 
 
28
 
void            gimp_histogram_calculate   (GimpHistogram        *histogram,
29
 
                                            PixelRegion          *region,
30
 
                                            PixelRegion          *mask);
31
 
 
32
 
gdouble         gimp_histogram_get_maximum (GimpHistogram        *histogram,
33
 
                                            GimpHistogramChannel  channel);
34
 
gdouble         gimp_histogram_get_count   (GimpHistogram        *histogram,
35
 
                                            GimpHistogramChannel  channel,
36
 
                                            gint                  start,
37
 
                                            gint                  end);
38
 
gdouble         gimp_histogram_get_mean    (GimpHistogram        *histogram,
39
 
                                            GimpHistogramChannel  channel,
40
 
                                            gint                  start,
41
 
                                            gint                  end);
42
 
gint            gimp_histogram_get_median  (GimpHistogram        *histogram,
43
 
                                            GimpHistogramChannel  channel,
44
 
                                            gint                  start,
45
 
                                            gint                  end);
46
 
gdouble         gimp_histogram_get_std_dev (GimpHistogram        *histogram,
47
 
                                            GimpHistogramChannel  channel,
48
 
                                            gint                  start,
49
 
                                            gint                  end);
50
 
gdouble         gimp_histogram_get_value   (GimpHistogram        *histogram,
51
 
                                            GimpHistogramChannel  channel,
52
 
                                            gint                  bin);
53
 
gdouble         gimp_histogram_get_channel (GimpHistogram        *histogram,
54
 
                                            GimpHistogramChannel  channel,
55
 
                                            gint                  bin);
56
 
gint            gimp_histogram_n_channels  (GimpHistogram        *histogram);
 
25
GimpHistogram * gimp_histogram_new           (void);
 
26
void            gimp_histogram_free          (GimpHistogram        *histogram);
 
27
 
 
28
void            gimp_histogram_calculate     (GimpHistogram        *histogram,
 
29
                                              PixelRegion          *region,
 
30
                                              PixelRegion          *mask);
 
31
 
 
32
gdouble         gimp_histogram_get_maximum   (GimpHistogram        *histogram,
 
33
                                              GimpHistogramChannel  channel);
 
34
gdouble         gimp_histogram_get_count     (GimpHistogram        *histogram,
 
35
                                              GimpHistogramChannel  channel,
 
36
                                              gint                  start,
 
37
                                              gint                  end);
 
38
gdouble         gimp_histogram_get_mean      (GimpHistogram        *histogram,
 
39
                                              GimpHistogramChannel  channel,
 
40
                                              gint                  start,
 
41
                                              gint                  end);
 
42
gint            gimp_histogram_get_median    (GimpHistogram        *histogram,
 
43
                                              GimpHistogramChannel  channel,
 
44
                                              gint                  start,
 
45
                                              gint                  end);
 
46
gdouble         gimp_histogram_get_std_dev   (GimpHistogram        *histogram,
 
47
                                              GimpHistogramChannel  channel,
 
48
                                              gint                  start,
 
49
                                              gint                  end);
 
50
gdouble         gimp_histogram_get_threshold (GimpHistogram        *histogram,
 
51
                                              GimpHistogramChannel  channel,
 
52
                                              gint                  start,
 
53
                                              gint                  end);
 
54
gdouble         gimp_histogram_get_value     (GimpHistogram        *histogram,
 
55
                                              GimpHistogramChannel  channel,
 
56
                                              gint                  bin);
 
57
gdouble         gimp_histogram_get_channel   (GimpHistogram        *histogram,
 
58
                                              GimpHistogramChannel  channel,
 
59
                                              gint                  bin);
 
60
gint            gimp_histogram_n_channels    (GimpHistogram        *histogram);
57
61
 
58
62
 
59
63
#endif /* __GIMP_HISTOGRAM_H__ */