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

« back to all changes in this revision

Viewing changes to app/paint/gimpbrushcore.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
49
49
  gdouble        scale;
50
50
 
51
51
  /*  brush buffers  */
52
 
  MaskBuf       *pressure_brush;
 
52
  TempBuf       *pressure_brush;
53
53
 
54
 
  MaskBuf       *solid_brushes[BRUSH_CORE_SOLID_SUBSAMPLE][BRUSH_CORE_SOLID_SUBSAMPLE];
55
 
  MaskBuf       *last_solid_brush;
 
54
  TempBuf       *solid_brushes[BRUSH_CORE_SOLID_SUBSAMPLE][BRUSH_CORE_SOLID_SUBSAMPLE];
 
55
  TempBuf       *last_solid_brush;
56
56
  gboolean       solid_cache_invalid;
57
57
 
58
 
  MaskBuf       *scale_brush;
59
 
  MaskBuf       *last_scale_brush;
 
58
  TempBuf       *scale_brush;
 
59
  TempBuf       *last_scale_brush;
60
60
  gint           last_scale_width;
61
61
  gint           last_scale_height;
62
62
 
63
 
  MaskBuf       *scale_pixmap;
64
 
  MaskBuf       *last_scale_pixmap;
 
63
  TempBuf       *scale_pixmap;
 
64
  TempBuf       *last_scale_pixmap;
65
65
  gint           last_scale_pixmap_width;
66
66
  gint           last_scale_pixmap_height;
67
67
 
68
 
  MaskBuf       *kernel_brushes[BRUSH_CORE_SUBSAMPLE + 1][BRUSH_CORE_SUBSAMPLE + 1];
 
68
  TempBuf       *kernel_brushes[BRUSH_CORE_SUBSAMPLE + 1][BRUSH_CORE_SUBSAMPLE + 1];
69
69
 
70
 
  MaskBuf       *last_brush_mask;
 
70
  TempBuf       *last_brush_mask;
71
71
  gboolean       cache_invalid;
72
72
 
 
73
  gdouble        jitter;
 
74
 
 
75
  GRand         *rand;
 
76
 
73
77
  /*  don't use these...  */
74
78
  BoundSeg      *brush_bound_segs;
75
79
  gint           n_brush_bound_segs;
96
100
 
97
101
void    gimp_brush_core_set_brush      (GimpBrushCore            *core,
98
102
                                        GimpBrush                *brush);
 
103
void    gimp_brush_core_create_bound_segs (GimpBrushCore         *core,
 
104
                                           GimpPaintOptions      *options);
 
105
 
99
106
void    gimp_brush_core_paste_canvas   (GimpBrushCore            *core,
100
107
                                        GimpDrawable             *drawable,
101
108
                                        gdouble                   brush_opacity,
104
111
                                        GimpBrushApplicationMode  brush_hardness,
105
112
                                        GimpPaintApplicationMode  mode);
106
113
void    gimp_brush_core_replace_canvas (GimpBrushCore            *core,
107
 
                                        GimpDrawable             *drawable,
 
114
                                        GimpDrawable             *drawable,
108
115
                                        gdouble                   brush_opacity,
109
116
                                        gdouble                   image_opacity,
110
117
                                        GimpBrushApplicationMode  brush_hardness,
112
119
 
113
120
void    gimp_brush_core_color_area_with_pixmap
114
121
                                       (GimpBrushCore            *core,
115
 
                                        GimpImage                *dest,
116
122
                                        GimpDrawable             *drawable,
117
123
                                        TempBuf                  *area,
118
 
                                        gdouble                   scale,
119
124
                                        GimpBrushApplicationMode  mode);
120
125
 
121
126