mirror of https://github.com/GNOME/gimp.git
Make also the non-gui paintbrush (called when stroking a path) handle
1999-09-02 Tor Lillqvist <tml@iki.fi> * app/paintbrush.c (paintbrush_non_gui_default, paintbrush_non_gui): Make also the non-gui paintbrush (called when stroking a path) handle changing brushes, i.e. pixmap brush pipes.
This commit is contained in:
parent
5475ff08a9
commit
388199215e
|
@ -1,5 +1,9 @@
|
|||
1999-09-02 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* app/paintbrush.c (paintbrush_non_gui_default,
|
||||
paintbrush_non_gui): Make also the non-gui paintbrush (called when
|
||||
stroking a path) handle changing brushes, i.e. pixmap brush pipes.
|
||||
|
||||
* libgimp/parasiteio.[ch]: New files. Types and functions related
|
||||
to "standard" parasite types. Used for the
|
||||
gimp-brush-pipe-parameters parasite that the gpb and psp plug-ins
|
||||
|
|
|
@ -517,6 +517,8 @@ paintbrush_non_gui_default (GimpDrawable *drawable,
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
non_gui_paint_core.flags |= TOOL_CAN_HANDLE_CHANGING_BRUSH;
|
||||
|
||||
paintbrush_non_gui_paint_func (&non_gui_paint_core, drawable, 0);
|
||||
|
||||
for (i = 1; i < num_strokes; i++)
|
||||
|
@ -566,6 +568,8 @@ paintbrush_non_gui (GimpDrawable *drawable,
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
non_gui_paint_core.flags |= TOOL_CAN_HANDLE_CHANGING_BRUSH;
|
||||
|
||||
if (num_strokes == 1)
|
||||
paintbrush_non_gui_paint_func (&non_gui_paint_core, drawable, 0);
|
||||
|
||||
|
|
|
@ -517,6 +517,8 @@ paintbrush_non_gui_default (GimpDrawable *drawable,
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
non_gui_paint_core.flags |= TOOL_CAN_HANDLE_CHANGING_BRUSH;
|
||||
|
||||
paintbrush_non_gui_paint_func (&non_gui_paint_core, drawable, 0);
|
||||
|
||||
for (i = 1; i < num_strokes; i++)
|
||||
|
@ -566,6 +568,8 @@ paintbrush_non_gui (GimpDrawable *drawable,
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
non_gui_paint_core.flags |= TOOL_CAN_HANDLE_CHANGING_BRUSH;
|
||||
|
||||
if (num_strokes == 1)
|
||||
paintbrush_non_gui_paint_func (&non_gui_paint_core, drawable, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue