mirror of https://github.com/GNOME/gimp.git
Previous commit got a broken pipe.
This commit is contained in:
parent
460b3e84e5
commit
fa450f09b5
|
@ -1141,7 +1141,7 @@ gimp_vector_tool_status_update (GimpTool *tool,
|
||||||
new_status = _("Click to make this node angular.");
|
new_status = _("Click to make this node angular.");
|
||||||
break;
|
break;
|
||||||
case VECTORS_FINISHED:
|
case VECTORS_FINISHED:
|
||||||
new_status = _("Nothing to see here. Move along.");
|
new_status = " ";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
|
|
||||||
#ifdef LIBART_STROKE
|
#ifdef LIBART_STROKE
|
||||||
# include "libgimpcolor/gimpcolor.h"
|
# include "libgimpcolor/gimpcolor.h"
|
||||||
|
# include "core/gimp.h"
|
||||||
|
# include "core/gimpcontext.h"
|
||||||
# include "core/gimpdrawable-stroke.h"
|
# include "core/gimpdrawable-stroke.h"
|
||||||
#else
|
#else
|
||||||
# include "paint/gimppaintcore-stroke.h"
|
# include "paint/gimppaintcore-stroke.h"
|
||||||
|
@ -555,12 +557,18 @@ gimp_vectors_stroke (GimpItem *item,
|
||||||
|
|
||||||
#ifdef LIBART_STROKE
|
#ifdef LIBART_STROKE
|
||||||
{
|
{
|
||||||
|
GimpContext *context;
|
||||||
GimpRGB color;
|
GimpRGB color;
|
||||||
|
|
||||||
gimp_rgba_set (&color, 0.0, 0.7, 0.5, 1.0);
|
context = gimp_get_current_context (
|
||||||
|
gimp_item_get_image (GIMP_ITEM (drawable))->gimp);
|
||||||
|
gimp_context_get_foreground (context, &color);
|
||||||
|
|
||||||
gimp_drawable_stroke_vectors (drawable, vectors, 0.5, &color,
|
gimp_drawable_stroke_vectors (drawable, vectors,
|
||||||
GIMP_NORMAL_MODE, 15,
|
gimp_context_get_opacity (context),
|
||||||
|
&color,
|
||||||
|
gimp_context_get_paint_mode (context),
|
||||||
|
14, /* width */
|
||||||
GIMP_JOIN_MITER, GIMP_CAP_SQUARE, TRUE);
|
GIMP_JOIN_MITER, GIMP_CAP_SQUARE, TRUE);
|
||||||
retval = TRUE;
|
retval = TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue