mirror of https://github.com/GNOME/gimp.git
app: remove gimp_draw_tool_add_transform_guides()
This commit is contained in:
parent
3b21c08b41
commit
f5a6c859d7
|
@ -950,31 +950,6 @@ gimp_draw_tool_add_text_cursor (GimpDrawTool *draw_tool,
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
GimpCanvasItem *
|
|
||||||
gimp_draw_tool_add_transform_guides (GimpDrawTool *draw_tool,
|
|
||||||
const GimpMatrix3 *transform,
|
|
||||||
GimpGuidesType type,
|
|
||||||
gint n_guides,
|
|
||||||
gdouble x1,
|
|
||||||
gdouble y1,
|
|
||||||
gdouble x2,
|
|
||||||
gdouble y2)
|
|
||||||
{
|
|
||||||
GimpCanvasItem *item;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GIMP_IS_DRAW_TOOL (draw_tool), NULL);
|
|
||||||
g_return_val_if_fail (transform != NULL, NULL);
|
|
||||||
|
|
||||||
item = gimp_canvas_transform_guides_new (gimp_display_get_shell (draw_tool->display),
|
|
||||||
transform, x1, y1, x2, y2,
|
|
||||||
type, n_guides);
|
|
||||||
|
|
||||||
gimp_draw_tool_add_item (draw_tool, item);
|
|
||||||
g_object_unref (item);
|
|
||||||
|
|
||||||
return item;
|
|
||||||
}
|
|
||||||
|
|
||||||
GimpCanvasItem *
|
GimpCanvasItem *
|
||||||
gimp_draw_tool_add_transform_preview (GimpDrawTool *draw_tool,
|
gimp_draw_tool_add_transform_preview (GimpDrawTool *draw_tool,
|
||||||
GimpDrawable *drawable,
|
GimpDrawable *drawable,
|
||||||
|
|
|
@ -143,14 +143,6 @@ GimpCanvasItem * gimp_draw_tool_add_arc (GimpDrawTool *draw_too
|
||||||
gdouble height,
|
gdouble height,
|
||||||
gdouble start_angle,
|
gdouble start_angle,
|
||||||
gdouble slice_angle);
|
gdouble slice_angle);
|
||||||
GimpCanvasItem * gimp_draw_tool_add_transform_guides (GimpDrawTool *draw_tool,
|
|
||||||
const GimpMatrix3 *transform,
|
|
||||||
GimpGuidesType type,
|
|
||||||
gint n_guides,
|
|
||||||
gdouble x1,
|
|
||||||
gdouble y1,
|
|
||||||
gdouble x2,
|
|
||||||
gdouble y2);
|
|
||||||
GimpCanvasItem * gimp_draw_tool_add_transform_preview(GimpDrawTool *draw_tool,
|
GimpCanvasItem * gimp_draw_tool_add_transform_preview(GimpDrawTool *draw_tool,
|
||||||
GimpDrawable *drawable,
|
GimpDrawable *drawable,
|
||||||
const GimpMatrix3 *transform,
|
const GimpMatrix3 *transform,
|
||||||
|
|
Loading…
Reference in New Issue