[Gegl-developer] API change for samplers to pass inverse Jacobian data to samplers

Sven Neumann sven at gimp.org
Thu Jul 2 13:34:41 PDT 2009


Hi,

On Thu, 2009-07-02 at 16:27 -0400, Adam Turcotte wrote:

> I have added the typedef, but now I have the issue of adding this
> GeglMatrix2 as a property of the sampler. I notice that there are
> g_object_class_install_property ( ) lines that use
> g_param_spec_pointer () and g_param_spec_object () to specify a
> GParamSpec.
> 
> What is the correct method call for a GeglMatrix2?

You should make GeglMatrix2 a boxed type and use g_param_spec_boxed()
for it. gegl-utils.c has code that does this for GeglRectangle.


Sven




More information about the Gegl-developer mailing list