On 4/8/06, Dominique Würtz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to make a copy of a cairo.Matrix. This does not work correctly:
>
> import copy
> matrix2  =  copy.copy(matrix)
>
> while this does but seems like an ugly work-around to me:
>
> matrix2 = cairo.Matrix() * matrix
>
> Is there another (clean) way to do this? Or should I file a bug?

This is not really a pygtk question but it relates to cairo only. You
should better ask to cairo's mailing list.

Anyway for me copy.copy(matrix) works fine.

--
Lawrence
http://www.oluyede.org/blog
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to