~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): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#define BRUSH_CORE_SOLID_SUBSAMPLE  2
28
28
#define BRUSH_CORE_JITTER_LUTSIZE   360
29
29
 
30
 
#define PRESSURE_SCALE              1.5
31
 
 
32
30
 
33
31
#define GIMP_TYPE_BRUSH_CORE            (gimp_brush_core_get_type ())
34
32
#define GIMP_BRUSH_CORE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_BRUSH_CORE, GimpBrushCore))
60
58
  TempBuf       *last_scale_brush;
61
59
  gint           last_scale_width;
62
60
  gint           last_scale_height;
 
61
  gdouble        last_scale;
63
62
 
64
63
  TempBuf       *scale_pixmap;
65
64
  TempBuf       *last_scale_pixmap;
91
90
  /*  Set for tools that don't mind if the brush changes while painting  */
92
91
  gboolean            handles_changing_brush;
93
92
 
94
 
  /*  Scale the brush mask depending on pressure  */
95
 
  gboolean            use_scale;
 
93
  /*  Set for tools that don't mind if the brush scales while painting  */
 
94
  gboolean            handles_scaling_brush;
96
95
 
97
96
  void (* set_brush) (GimpBrushCore *core,
98
97
                      GimpBrush     *brush);
112
111
                                        gdouble                   image_opacity,
113
112
                                        GimpLayerModeEffects      paint_mode,
114
113
                                        GimpBrushApplicationMode  brush_hardness,
 
114
                                        gdouble                   dynamic_hardness,
115
115
                                        GimpPaintApplicationMode  mode);
116
116
void    gimp_brush_core_replace_canvas (GimpBrushCore            *core,
117
117
                                        GimpDrawable             *drawable,
118
118
                                        gdouble                   brush_opacity,
119
119
                                        gdouble                   image_opacity,
120
120
                                        GimpBrushApplicationMode  brush_hardness,
 
121
                                        gdouble                   dynamic_hardness,
121
122
                                        GimpPaintApplicationMode  mode);
122
123
 
123
124
void    gimp_brush_core_color_area_with_pixmap
124
 
                                       (GimpBrushCore            *core,
125
 
                                        GimpDrawable             *drawable,
126
 
                                        TempBuf                  *area,
127
 
                                        GimpBrushApplicationMode  mode);
 
125
                                         (GimpBrushCore            *core,
 
126
                                          GimpDrawable             *drawable,
 
127
                                          TempBuf                  *area,
 
128
                                          GimpBrushApplicationMode  mode);
128
129
 
129
130
TempBuf * gimp_brush_core_get_brush_mask (GimpBrushCore            *core,
130
 
                                          GimpBrushApplicationMode  brush_hardness);
 
131
                                          GimpBrushApplicationMode  brush_hardness,
 
132
                                          gdouble                   dynamic_hardness);
131
133
 
132
134
 
133
135
#endif  /*  __GIMP_BRUSH_CORE_H__  */