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

« back to all changes in this revision

Viewing changes to app/core/gimpimage-guides.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
4
 * This program is free software; you can redistribute it and/or modify
20
20
#define __GIMP_IMAGE_GUIDES_H__
21
21
 
22
22
 
23
 
struct _GimpGuide
24
 
{
25
 
  gint                 ref_count;
26
 
  gint                 position;
27
 
  GimpOrientationType  orientation;
28
 
  guint32              guide_ID;
29
 
};
30
 
 
31
 
 
32
 
GimpGuide * gimp_image_add_hguide     (GimpImage *gimage,
33
 
                                       gint       position,
34
 
                                       gboolean   push_undo);
35
 
GimpGuide * gimp_image_add_vguide     (GimpImage *gimage,
36
 
                                       gint       position,
37
 
                                       gboolean   push_undo);
38
 
 
39
 
GimpGuide * gimp_image_guide_ref      (GimpGuide *guide);
40
 
void        gimp_image_guide_unref    (GimpGuide *guide);
41
 
 
42
 
void        gimp_image_add_guide      (GimpImage *gimage,
 
23
GimpGuide * gimp_image_add_hguide     (GimpImage *image,
 
24
                                       gint       position,
 
25
                                       gboolean   push_undo);
 
26
GimpGuide * gimp_image_add_vguide     (GimpImage *image,
 
27
                                       gint       position,
 
28
                                       gboolean   push_undo);
 
29
 
 
30
void        gimp_image_add_guide      (GimpImage *image,
43
31
                                       GimpGuide *guide,
44
32
                                       gint       position);
45
 
void        gimp_image_remove_guide   (GimpImage *gimage,
 
33
void        gimp_image_remove_guide   (GimpImage *image,
46
34
                                       GimpGuide *guide,
47
35
                                       gboolean   push_undo);
48
 
void        gimp_image_move_guide     (GimpImage *gimage,
 
36
void        gimp_image_move_guide     (GimpImage *image,
49
37
                                       GimpGuide *guide,
50
38
                                       gint       position,
51
39
                                       gboolean   push_undo);
52
40
 
53
 
GimpGuide * gimp_image_find_guide     (GimpImage *gimage,
 
41
GimpGuide * gimp_image_get_guide      (GimpImage *image,
 
42
                                       guint32    id);
 
43
GimpGuide * gimp_image_get_next_guide (GimpImage *image,
 
44
                                       guint32    id,
 
45
                                       gboolean  *guide_found);
 
46
 
 
47
GimpGuide * gimp_image_find_guide     (GimpImage *image,
54
48
                                       gdouble    x,
55
49
                                       gdouble    y,
56
50
                                       gdouble    epsilon_x,