[Mono-devel-list] Re: [Mono-patches] libgdiplus/src ChangeLog,1.8,1.9 font.c,1.4,1.5 gdip.h,1.8,1.9 graphics.c,1.9,1.10

Ravindra rkumar at novell.com
Fri Feb 20 11:11:21 EST 2004


On Fri, 2004-02-20 at 20:47, Jordi Mas  wrote:
> Index: gdip.h
> ===================================================================
> RCS file: /cvs/public/libgdiplus/src/gdip.h,v
> +
> +struct cairo_matrix {
> +    double m[3][2];
> +};
> +

Jordi, I was wondering about the need for this struct definition here
because cairo provides following functions,

cairo_status_t
cairo_matrix_set_affine (cairo_matrix_t *cr,
                         double a, double b,
                         double c, double d,
                         double tx, double ty);
                                                                                
cairo_status_t
cairo_matrix_get_affine (cairo_matrix_t *matrix,
                         double *a, double *b,
                         double *c, double *d,
                         double *tx, double *ty);

I was of the opinion that it is not the right way to access a data
struct that is designed to be opaque.

Regards,
Ravindra




More information about the Mono-devel-list mailing list