Google
  Web www.spinics.net

Re: API change for samplers to pass inverse Jacobian data to samplers

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


On 07/02/2009 10:34 PM, Sven Neumann wrote:
> 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.
>    

Or he can just do as GeglProcessor does for its GeglRectangle property 
and use g_param_spec_pointer() and copy the data on a set/get.

  / Martin

_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [gtk]     [GIMP Users]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]