Hi Willem,

> However, when I use this transformation matrix in my own code, I get 
> strange results, even using the function gimp_matrix3_transform_point 
> from gimpmatrix.c.

It looks like you are applying the transform in the wrong direction...

> To compute a transformed coordinate (x', y') I simply multiply 
> (x, y, 1) by the transformation matrix that GIMP shows

In that case, I think that the transformation converts the destination 
coordinate to the corresponding source coordinate.


-- 
David Hodson  --  this night wounds time
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to