[Mono-dev] SIGSEGV in Cairo.CairoAPI:cairo_get/set_matrix()

Peter Dennis Bartok peter at novonyx.com
Mon Oct 31 20:54:19 EST 2005

>Regarding use of ref/out/neither: I think use of ref or out is
>*required*. It seems that (most) cairo calls involving matrices expect a
>cairo_matrix_t* argument. As I understand it, this means that these
That is correct, cairo expects a pointer (aka reference), not the actual 
value, therefore ref (or [in, out]) is required. If you drop the ref you 
will be passing by value (ie putting the whole struct on the stack, instead 
of just the pointer)

Any particular reason you dropped the Matrix_T and made the whole object a 


More information about the Mono-devel-list mailing list