[cairo] introducing a "context backend"

Krzysztof Kosiński tweenk.pl at gmail.com
Thu Apr 22 22:15:13 PDT 2010

2010/4/23 Bill Spitzak <spitzak at gmail.com>:
> I always thought the back-end api should look *exactly* like Cairo, where
> the cairo_t is a structure of function pointers, one per Cairo call, but
> perhaps with a few extra functions.

+1, but don't store the functions in cairo_t itself. Make a new
structure, let's call it cairo_context_functions_t, that would contain
the pointers. This would use less memory.

Regards, Krzysztof

More information about the cairo mailing list