app: add x1,y1,x2,y2 parameters to gimp_canvas_transform_guides_set()
This commit is contained in:
@ -590,6 +590,10 @@ gimp_canvas_transform_guides_new (GimpDisplayShell *shell,
|
|||||||
void
|
void
|
||||||
gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
|
gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
|
||||||
const GimpMatrix3 *transform,
|
const GimpMatrix3 *transform,
|
||||||
|
gdouble x1,
|
||||||
|
gdouble y1,
|
||||||
|
gdouble x2,
|
||||||
|
gdouble y2,
|
||||||
GimpGuidesType type,
|
GimpGuidesType type,
|
||||||
gint n_guides)
|
gint n_guides)
|
||||||
{
|
{
|
||||||
@ -599,6 +603,10 @@ gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
|
|||||||
|
|
||||||
g_object_set (guides,
|
g_object_set (guides,
|
||||||
"transform", transform,
|
"transform", transform,
|
||||||
|
"x1", x1,
|
||||||
|
"y1", y1,
|
||||||
|
"x2", x2,
|
||||||
|
"y2", y2,
|
||||||
"type", type,
|
"type", type,
|
||||||
"n-guides", n_guides,
|
"n-guides", n_guides,
|
||||||
NULL);
|
NULL);
|
||||||
|
@ -60,6 +60,10 @@ GimpCanvasItem * gimp_canvas_transform_guides_new (GimpDisplayShell *shell
|
|||||||
|
|
||||||
void gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
|
void gimp_canvas_transform_guides_set (GimpCanvasItem *guides,
|
||||||
const GimpMatrix3 *transform,
|
const GimpMatrix3 *transform,
|
||||||
|
gdouble x1,
|
||||||
|
gdouble y1,
|
||||||
|
gdouble x2,
|
||||||
|
gdouble y2,
|
||||||
GimpGuidesType type,
|
GimpGuidesType type,
|
||||||
gint n_guides);
|
gint n_guides);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user