[cairo] cairo_snippets
Carl Worth
cworth at east.isi.edu
Tue May 25 07:25:58 PDT 2004
On Wed, 19 May 2004 11:27:46 +0200, =?iso-8859-1?Q?=D8yvind_Kol=E5s?= wrote:
> A new framework for testing, and demonstrating cairo is checked into CVS
> in the cairo-demo module. The basic idea is to test and demonstrate
> various aspects of the cairo api in small code snippets, within a
> defined enviroment.
Thanks so much for putting this together. It really looks fantastic.
> http://cairographics.org/samples/ contains all the snippets currently
> in CVS, renderered with the png (image) backend.
I've linked that into the wiki. It's probably worth organizing the wiki
a bit to highlight this better. Anyone with good ideas should feel free
to take a whack at that.
> For future bug reports it will be easier for developers to check and
> handle bugs if they are accompanied by a cairo_snippets compatible
> test case.
Aboslutely.
And I will start using the snippets as a regression test before pushing
out new releases, or accepting large patches. I have been using an SVG
test suite for this purpose, but libsvg-cairo doesn't yet provide full
coverage of the cairo API, (which is how some clipping regressions
sneaked in). Also, the SVG test suite became useless several times as
little tweaks in the SVG-related portion of libsvg-cairo rippled
throughout the output images.
So, thanks again!
-Carl
More information about the cairo
mailing list