tests/compositions: add old gegl splash as composition test

parent 6abbb603
...@@ -248,8 +248,9 @@ gegl_op_class_init (GeglOpClass *klass) ...@@ -248,8 +248,9 @@ gegl_op_class_init (GeglOpClass *klass)
"<gegl>" "<gegl>"
"<node operation='gegl:fill-path'>" "<node operation='gegl:fill-path'>"
" <params>" " <params>"
" <param name='d'>M30,4 C12,13 0,30 0,50 C0,78 23,100 50,100 C71,100 88,88 96,71" " <param name='d'>"
" L56,71 C42,71 30,59 30,45 L30,4 z</param>" "M0,50 C0,78 24,100 50,100 C77,100 100,78 100,50 C100,45 99,40 98,35 C82,35 66,35 50,35 C42,35 35,42 35,50 C35,58 42,65 50,65 C56,65 61,61 64,56 C67,51 75,55 73,60 C69, 69 60,75 50,75 C36,75 25,64 25,50 C25,36 36,25 50,25 L93,25 C83,9 67,0 49,0 C25,0 0,20 0,50 z"
" </param>"
" <param name='color'>rgb(0.0, 0.6, 1.0)</param>" " <param name='color'>rgb(0.0, 0.6, 1.0)</param>"
" </params>" " </params>"
"</node>" "</node>"
......
...@@ -12,8 +12,6 @@ SUBDIRS=data ...@@ -12,8 +12,6 @@ SUBDIRS=data
EXTRA_DIST=$(wildcard $(srcdir)/*.xml) $(wildcard $(srcdir)/reference/*) run-compositions.py EXTRA_DIST=$(wildcard $(srcdir)/*.xml) $(wildcard $(srcdir)/reference/*) run-compositions.py
# List of tests. The .sh suffix allows us to use $(wildcard $(srcdir)/*.xml) in
# EXTRA_DISTS
TESTS = \ TESTS = \
affine-with-negative.xml \ affine-with-negative.xml \
alien-map.xml \ alien-map.xml \
...@@ -29,6 +27,7 @@ TESTS = \ ...@@ -29,6 +27,7 @@ TESTS = \
edge-laplace.xml \ edge-laplace.xml \
edge-sobel.xml \ edge-sobel.xml \
fattal02.xml \ fattal02.xml \
gegl.xml \
gamma.xml \ gamma.xml \
hdr-color.xml \ hdr-color.xml \
image-compare.xml \ image-compare.xml \
......
<?xml version='1.0' encoding='UTF-8'?> <gegl>
<node operation='gegl:crop'> <params> <param name='x'>0</param> <param name='y'>0</param> <param name='width'>395</param> <param name='height'>200</param> </params> </node>
<node operation='gegl:over'>
<node operation='gegl:translate'> <params> <param name='x'>80</param> <param name='y'>162</param> </params> </node>
<node operation='gegl:opacity'> <params> <param name='value'>0.5</param> </params> </node>
<node name='text' operation='gegl:text'> <params> <param name='string'>2000-2014 © Various contributors</param> <param name='font'>Sans</param> <param name='size'>12</param> <param name='color'>rgb(0.0000, 0.0000, 0.0000)</param> <param name='wrap'>628</param> <param name='alignment'>0</param> <param name='width'>622</param> <param name='height'>40</param> </params> </node> </node>
<node operation='gegl:over'>
<node operation='gegl:translate'> <params> <param name='x'>20</param> <param name='y'>50</param> </params> </node>
<node operation='gegl:over'>
<node operation='gegl:translate'> <params> <param name='x'>0</param> <param name='y'>0</param> </params> </node>
<node operation='gegl:dropshadow'> <params> <param name='opacity'>2.2</param> <param name='x'>0</param> <param name='y'>0</param> <param name='radius'>8</param> </params> </node> <gegl:fill-path d='M0,50 C0,78 24,100 50,100 C77,100 100,78 100,50 C100,45 99,40 98,35 C82,35 66,35 50,35 C42,35 35,42 35,50 C35,58 42,65 50,65 C56,65 61,61 64,56 C67,51 75,55 73,60 C69,69 60,75 50,75 C36,75 25,64 25,50 C25,36 36,25 50,25 L93,25 C83,9 67,0 49,0 C25,0 0,20 0,50 z' color='white'/> </node>
<node operation='gegl:over'>
<node operation='gegl:translate'> <params> <param name='x'>88</param> <param name='y'>0</param> </params> </node>
<node operation='gegl:dropshadow'> <params> <param name='opacity'>1.2</param> <param name='x'>0</param> <param name='y'>0</param> <param name='radius'>8</param> </params> </node>
<node operation='gegl:fill-path'> <params> <param name='d'>M50,0 C23,0 0,22 0,50 C0,77 22,100 50,100 C68,100 85,90 93,75 L40,75 C35,75 35,65 40,65 L98,65 C100,55 100,45 98,35 L40,35 C35,35 35,25 40,25 L93,25 C84,10 68,0 50,0 z</param> <param name='color'>rgb(1.0000, 1.0000, 1.0000)</param> </params> </node> </node>
<node operation='gegl:over'>
<node operation='gegl:translate'> <params> <param name='x'>176</param> <param name='y'>0</param> </params> </node>
<node operation='gegl:dropshadow'> <params> <param name='opacity'>1.2</param> <param name='x'>0</param> <param name='y'>0</param> <param name='radius'>8</param> </params> </node>
<node operation='gegl:fill-path'> <params> <param name='d'>M0,50 C0,78 24,100 50,100 C77,100 100,78 100,50 C100,45 99,40 98,35 C82,35 66,35 50,35 C42,35 35,42 35,50 C35,58 42,65 50,65 C56,65 61,61 64,56 C67,51 75,55 73,60 C69,69 60,75 50,75 C36,75 25,64 25,50 C25,36 36,25 50,25 L93,25 C83,9 67,0 49,0 C25,0 0,20 0,50 z</param> <param name='color'>rgb(1.0000, 1.0000, 1.0000)</param> </params> </node> </node>
<node operation='gegl:translate' x='264' y='0' />
<node operation='gegl:dropshadow' opacity='1.2' x='0' y='0' radius='8' />
<node operation='gegl:fill-path'> <params> <param name='d'>M30,4 C12,13 0,30 0,50 C0,78 23,100 50,100 C71,100 88,88 96,71 L56,71 C42,71 30,59 30,45 L30,4 z</param> <param name='color'>rgb(1.0000, 1.0000, 1.0000)</param> </params> </node> </node>
<node operation='gegl:rotate' degrees='42' />
<node operation='gegl:checkerboard'> <params> <param name='x'>43</param> <param name='y'>44</param> <param name='x-offset'>0</param> <param name='y-offset'>0</param> <param name='color1'>rgb(0.7097, 0.7097, 0.7097)</param> <param name='color2'>rgb(0.7661, 0.7661, 0.7661)</param> </params> </node>
</gegl>
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