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

« back to all changes in this revision

Viewing changes to app/core/gimpdashpattern.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
/* GIMP - The GNU Image Manipulation Program
 
2
 * Copyright (C) 1995-1999 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * gimpdashpattern.h
 
5
 * Copyright (C) 2003 Simon Budig
 
6
 * Copyright (C) 2005 Sven Neumann
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published by
 
10
 * the Free Software Foundation; either version 2 of the License, or
 
11
 * (at your option) any later version.
 
12
 *
 
13
 * This program is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU General Public License
 
19
 * along with this program; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
21
 */
 
22
 
 
23
#ifndef __GIMP_DASH_PATTERN_H__
 
24
#define __GIMP_DASH_PATTERN_H__
 
25
 
 
26
 
 
27
#define GIMP_TYPE_DASH_PATTERN               (gimp_dash_pattern_get_type ())
 
28
#define GIMP_VALUE_HOLDS_DASH_PATTERN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_DASH_PATTERN))
 
29
 
 
30
 
 
31
GType         gimp_dash_pattern_get_type          (void) G_GNUC_CONST;
 
32
 
 
33
GArray      * gimp_dash_pattern_new_from_preset   (GimpDashPreset  preset);
 
34
GArray      * gimp_dash_pattern_new_from_segments (const gboolean *segments,
 
35
                                                   gint            n_segments,
 
36
                                                   gdouble         dash_length);
 
37
 
 
38
void          gimp_dash_pattern_fill_segments     (GArray         *pattern,
 
39
                                                   gboolean       *segments,
 
40
                                                   gint            n_segments);
 
41
 
 
42
GArray      * gimp_dash_pattern_from_value_array  (GValueArray    *value_array);
 
43
GValueArray * gimp_dash_pattern_to_value_array    (GArray         *pattern);
 
44
 
 
45
GArray      * gimp_dash_pattern_copy              (GArray         *pattern);
 
46
void          gimp_dash_pattern_free              (GArray         *pattern);
 
47
 
 
48
 
 
49
#endif  /*  __GIMP_DASH_PATTERN_H__  */