~ubuntu-branches/ubuntu/saucy/gimp/saucy

« back to all changes in this revision

Viewing changes to app/display/gimpdisplayshell-draw.h

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-05-20 19:21:01 UTC
  • mfrom: (1.1.26) (0.4.16 sid)
  • Revision ID: package-import@ubuntu.com-20120520192101-bs7zetx8ffoq2nfv
Tags: 2.8.0-2ubuntu1
* Merge from Debian unstable (LP: #908472). Remaining Changes:
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch:
    + Update some strings for Ubuntu
  - debian/control:
    + Update description
  - debian/rules:
    + Set gettext domain and update translation templates
* Drop the following patches that were applied upstream:
  - debian/patches/ghost-cursor.patch: fix Wacom tablet cursor events
  - debian/patches/embed-page-setup-dialog.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
 
 * This program is free software; you can redistribute it and/or modify
 
4
 * This program is free software: you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
6
 
 * the Free Software Foundation; either version 2 of the License, or
 
6
 * the Free Software Foundation; either version 3 of the License, or
7
7
 * (at your option) any later version.
8
8
 *
9
9
 * This program is distributed in the hope that it will be useful,
12
12
 * GNU General Public License for more details.
13
13
 *
14
14
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
16
 */
18
17
 
19
18
#ifndef __GIMP_DISPLAY_SHELL_DRAW_H__
20
19
#define __GIMP_DISPLAY_SHELL_DRAW_H__
21
20
 
22
21
 
23
 
void   gimp_display_shell_draw_get_scaled_image_size (const GimpDisplayShell *shell,
24
 
                                                      gint                   *w,
25
 
                                                      gint                   *h);
 
22
void   gimp_display_shell_draw_get_scaled_image_size (GimpDisplayShell   *shell,
 
23
                                                      gint               *w,
 
24
                                                      gint               *h);
26
25
void   gimp_display_shell_draw_get_scaled_image_size_for_scale
27
 
                                                     (const GimpDisplayShell *shell,
28
 
                                                      gdouble                 scale,
29
 
                                                      gint                   *w,
30
 
                                                      gint                   *h);
31
 
void   gimp_display_shell_draw_guide                 (const GimpDisplayShell *shell,
32
 
                                                      GimpGuide              *guide,
33
 
                                                      gboolean                active);
34
 
void   gimp_display_shell_draw_guides                (const GimpDisplayShell *shell);
35
 
void   gimp_display_shell_draw_grid                  (GimpDisplayShell       *shell,
36
 
                                                      const GdkRectangle     *area);
37
 
void   gimp_display_shell_draw_pen                   (GimpDisplayShell       *shell,
38
 
                                                      const GimpVector2      *points,
39
 
                                                      gint                    num_points,
40
 
                                                      GimpContext            *context,
41
 
                                                      GimpActiveColor         color,
42
 
                                                      gint                    width);
43
 
void   gimp_display_shell_draw_sample_point          (const GimpDisplayShell *shell,
44
 
                                                      GimpSamplePoint        *sample_point,
45
 
                                                      gboolean                active);
46
 
void   gimp_display_shell_draw_sample_points         (const GimpDisplayShell *shell);
47
 
void   gimp_display_shell_draw_vector                (const GimpDisplayShell *shell,
48
 
                                                      GimpVectors            *vectors);
49
 
void   gimp_display_shell_draw_vectors               (const GimpDisplayShell *shell);
50
 
void   gimp_display_shell_draw_cursor                (const GimpDisplayShell *shell);
51
 
void   gimp_display_shell_draw_area                  (const GimpDisplayShell *shell,
52
 
                                                      gint                    x,
53
 
                                                      gint                    y,
54
 
                                                      gint                    w,
55
 
                                                      gint                    h);
 
26
                                                     (GimpDisplayShell   *shell,
 
27
                                                      gdouble             scale,
 
28
                                                      gint               *w,
 
29
                                                      gint               *h);
 
30
 
 
31
void   gimp_display_shell_draw_selection_out         (GimpDisplayShell   *shell,
 
32
                                                      cairo_t            *cr,
 
33
                                                      GimpSegment        *segs,
 
34
                                                      gint                n_segs);
 
35
void   gimp_display_shell_draw_selection_in          (GimpDisplayShell   *shell,
 
36
                                                      cairo_t            *cr,
 
37
                                                      cairo_pattern_t    *mask,
 
38
                                                      gint                index);
 
39
 
 
40
void   gimp_display_shell_draw_image                 (GimpDisplayShell   *shell,
 
41
                                                      cairo_t            *cr,
 
42
                                                      gint                x,
 
43
                                                      gint                y,
 
44
                                                      gint                w,
 
45
                                                      gint                h);
 
46
void   gimp_display_shell_draw_checkerboard          (GimpDisplayShell   *shell,
 
47
                                                      cairo_t            *cr,
 
48
                                                      gint                x,
 
49
                                                      gint                y,
 
50
                                                      gint                w,
 
51
                                                      gint                h);
56
52
 
57
53
 
58
54
#endif /* __GIMP_DISPLAY_SHELL_DRAW_H__ */