[cairo] cairoxx

Evan Martin martine at danga.com
Wed Sep 21 08:54:04 PDT 2005


On 9/21/05, Rui Pires <themidgard at gmail.com> wrote:
>  By the way, another thing that I tough of was the possibility to have
> automatic status checks (after any operation that might fail) and react to
> that failure by (optionaly) throwing an exception.
>  I think this is a good idea, but as I don't have too much experience using
> cairo i'm still unsure. It's certainly a better way of checking for error
> conditions, but cairo seems to be able to keep going even if certain errors
> occurs (say, cairo_create() is called when
> cairo_status()==CAIRO_STATUS_NO_MEMORY).
>  This could eventualy be made in a way it was possible to disable the checks
> with a #define or with a simple bool in the wrapper class.
>  What do you think of this ?

I plan to just follow the recommendation of the bindings guide:
http://cairographics.org/manual/bindings-errors.html

>  If you need any help, just ask.

I put it in my arch (baz) repository:
tla register-archive
http://neugierig.org/software/arch/martine@danga.com--2005-mouse
tla get martine at danga.com--2005-mouse/cairocc--dev--0

Very incomplete, but if you find it useful then I've just doubled the
usefulness of it.


More information about the cairo mailing list