transform: add reference chains and hashes to affine ops

parent f67cf87c
......@@ -86,6 +86,7 @@ gegl_op_class_init (GeglOpClass *klass)
"description", _("Reflect an image about a line, whose direction is "
"specified by the vector that is defined by the "
"x and y properties. "),
"reference-chain", "load path=images/standard-input.png reflet origin-x=100 origin-y=100 x=0.3 y=1.2",
NULL);
}
......
......@@ -147,6 +147,8 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:rotate-on-center",
"title", _("Rotate on center"),
"categories", "transform",
"reference-hash", "d1f7774133373578693604d7eb561a82",
"reference-chain", "load path=images/standard-input.png rotate-on-center degrees=30.0 clip-to-input=true",
"description", _("Rotate the buffer around its center, taking care of possible offsets."),
NULL);
}
......
......@@ -70,6 +70,8 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:rotate",
"title", _("Rotate"),
"categories", "transform",
"reference-hash", "cee09df3c0b0963ff079d9c0bb8ac9bb",
"reference-chain", "load path=images/standard-input.png rotate degrees=30.0 clip-to-input=true origin-x=100 origin-y=100",
"description", _("Rotate the buffer around the specified origin."),
NULL);
}
......
......@@ -73,6 +73,8 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:scale-ratio",
"title", _("Scale ratio"),
"categories", "transform",
"reference-hash", "526556d3dc92b42f54eaa250af002b0d",
"reference-chain", "load path=images/standard-input.png scale-ratio x=2.0 y=2.0 clip-to-input=true origin-x=100 origin-y=100",
"description", _("Scales the buffer according to a ratio."),
NULL);
}
......
......@@ -103,7 +103,9 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:scale-size-keepaspect",
"title", _("Scale size keep aspect"),
"categories", "transform",
"reference-hash", "e9586912651e1837414339221413d2b3",
"description", _("Scales the buffer to a size, preserving aspect ratio"),
"reference-chain", "load path=images/standard-input.png scale-size-keepaspect x=140 y=-1",
NULL);
}
......
......@@ -71,6 +71,8 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:shear",
"title", _("Shear"),
"categories", "transform",
"reference-hash", "2768783380e8fc27fe8706de1aa2f15e",
"reference-chain", "load path=images/standard-input.png shear x=1.12 clip-to-input=true origin-x=100 origin-y=100",
"description", _("Shears the buffer. "),
NULL);
}
......
......@@ -21,7 +21,7 @@
#ifdef GEGL_PROPERTIES
property_string (transform, _("Y"), "")
property_string (transform, _("Transform"), "")
description (_("Transformation SVG syntax transformation string"))
#else
......
......@@ -71,7 +71,9 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:translate",
"title", _("Translate"),
"categories", "transform",
"reference-hash", "fd7287903bdf467448454216712a0b2a",
"description", _("Repositions the buffer (with subpixel precision), if integer coordinates are passed a fast-path without resampling is used"),
"reference-chain", "load path=images/standard-input.png translate x=23.0 y=42.0 clip-to-input=true",
NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment