---
- ! "On Thu, Mar 1, 2012 at 10:40 PM, Forsale Zhangjiang\r\n
wrote:\r\n> Hello experts,\r\n>\r\n> I am confused by the calls-gimp_linear_gradient
and -gimp_radial_gradient\r\n> used in GIMC. My question is, what are their functions
respectively?\r\n\r\nYou'll have to ask the author of G'MIC -- those are functions
defined\r\nin GMIC, not GIMP.\r\nIf I look in ~/.gmic_def.1500, i can find the following
code:\r\n\r\n#@gimp Linear gradient : gimp_linear_gradient, gimp_linear_gradient\r\n#@gimp
: Starting color = color(0,0,0,255)\r\n#@gimp : Ending color = color(255,255,255,255)\r\n#@gimp
: Swap colors = bool(0)\r\n#@gimp : Angle = float(45,0,360)\r\n#@gimp : Fade start
= float(0,0,100)\r\n#@gimp : Fade end = float(100,0,100)\r\n#@gimp : sep = separator(),
note = note(\"Author : David\r\nTschumperlé. Latest update
:\r\n2010/12/29.\")\r\ngimp_linear_gradient :\r\n -repeat @#\r\n
\ ({w},{h}) -rm[-2]\r\n ($1^$2^$3^$4) ($5^$6^$7^$8)\r\n -if $9 -rv[-2,-1]
-endif\r\n -r[-2,-1] @-3 -rm[-3]\r\n -fade_linear $10,$11,$12\r\n -mv[-1]
0 -done\r\n\r\n#@gimp Radial gradient : gimp_radial_gradient, gimp_radial_gradient\r\n#@gimp
: Starting color = color(0,0,0,255)\r\n#@gimp : Ending color = color(255,255,255,255)\r\n#@gimp
: Swap colors = bool(0)\r\n#@gimp : Fade start = float(0,0,100)\r\n#@gimp : Fade
end = float(100,0,100)\r\n#@gimp : X-center = float(50,0,100)\r\n#@gimp : Y-center
= float(50,0,100)\r\n#@gimp : sep = separator(), note = note(\"Author : David\r\nTschumperlé.
\ Latest update :\r\n2010/12/29.\")\r\ngimp_radial_gradient :\r\n
\ -repeat @#\r\n ({w},{h}) -rm[-2]\r\n ($1^$2^$3^$4) ($5^$6^$7^$8)\r\n -if
$9 -rv[-2,-1] -endif\r\n -r[-2,-1] @-3 -rm[-3]\r\n 100%,100% -=[-1] 1,$12%,$13%
-distance[-1] 1 -_fade $10,$11\r\n -mv[-1] 0 -done\r\n_______________________________________________\r\ngimp-developer-list
mailing list\r\ngimp-developer-list@gnome.org\r\nhttp://mail.gnome.org/mailman/listinfo/gimp-developer-list"