app: add x1,y1,x2,y2 parameters to gimp_canvas_transform_guides_set()

This commit is contained in:
Michael Natterer 2017-06-13 20:35:17 +02:00
parent e58f6aabd9
commit 7082fc8b9e
2 changed files with 12 additions and 0 deletions

View File

@ -590,6 +590,10 @@ gimp_canvas_transform_guides_new (GimpDisplayShell *shell,
void
gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
const GimpMatrix3 *transform,
gdouble x1,
gdouble y1,
gdouble x2,
gdouble y2,
GimpGuidesType type,
gint n_guides)
{
@ -599,6 +603,10 @@ gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
g_object_set (guides,
"transform", transform,
"x1", x1,
"y1", y1,
"x2", x2,
"y2", y2,
"type", type,
"n-guides", n_guides,
NULL);

View File

@ -60,6 +60,10 @@ GimpCanvasItem * gimp_canvas_transform_guides_new (GimpDisplayShell *shell
void gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
const GimpMatrix3 *transform,
gdouble x1,
gdouble y1,
gdouble x2,
gdouble y2,
GimpGuidesType type,
gint n_guides);