Re: Abyss color

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/07/2009 07:47 PM, Eric Daoust wrote:
> Thanks for the reply.
>
> How would I pass this information from my XML test file to gegl-buffer-access.c?
>
> Example XML code (image rotation test using my upsharpfast sampler):
>
> <?xml version='1.0' encoding='UTF-8'?>
> <gegl>
>    <node operation='gegl:over'>
>        <node operation='gegl:rotate'>
>            <params>
>              <param name='origin-x'>0.000000</param>
>              <param name='origin-y'>0.000000</param>
>              <param name='degrees'>7.000000</param>
>              <param name='filter'>upsharpfast</param>
>            </params>
>        </node>
>        <node operation='gegl:load' id='clone0'>
>            <params>
>              <param name="path">data/roemerlogo_large.png</param>
>            </params>
>        </node>
>    </node>
> </gegl>

The properties in the XML file are set on operations, and GeglBuffer is 
not an operation.

You can add a property to gegl:rotate and pass that along to GeglBuffer. 
Perhaps not the prettiest, but it would work.

  / Martin

-- 

My GIMP Blog:
http://www.chromecode.com/
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux