[Cairo] New functions for cairo_matrix

Duncan Mak duncan at ximian.com
Fri Nov 14 14:42:42 PST 2003


On Fri, 2003-11-14 at 16:56, Carl Worth wrote:
> After looking closer though, I've got some questions. I notice that
> the patch does equality testing of floating-point numbers. Is that
> really what you want? If so, wouldn't it basically be equivalent to
> just compare the two cairo_matrix_t pointers?
> 
> Otherwise, I don't know of a good distance metric on the space of
> affine matrices with floating-point values.
> 
> So what was it exactly you wanted again?

>From MSDN:

The Equals method determines whether the elements of this matrix are
equal to the elements of another matrix.

Return Value

        If the elements of the two matrices are the same, this method
        returns TRUE; otherwise, it returns FALSE.

Duncan.




More information about the cairo mailing list