Commit graph

4 commits

Author SHA1 Message Date
Vladimir Vukicevic
9979f786ac [test] update degenerate-pen test
pdiff was hiding a rgb24 failure here, as the test was drawing using
black ink on the default black background.  Instead, explicitly fill
the surface with white first.
2008-02-25 21:27:33 -05:00
Carl Worth
1747718406 Add a spline to the degenerate-pen test case
This was triggering an infinite loop (with 24.8 fixed-point) just before
the previous fix.

NOTE: I usually put bug demonstrations just before the fixes, but this
one was quite harsh---not only was cairo looping infinitely, but it
was appending to an array on each iteration---so not kind at all.
2008-02-20 04:04:04 -08:00
Chris Wilson
6d2615d449 [test/degenerate-pen] Add missing return value.
Carl - he likes to test us occasionally to make sure we're paying
attention. Well, that's the excuse I use...
2007-11-02 09:17:59 +00:00
Carl Worth
5e76f65284 Add degenerate-pen test case.
This demonstrates the assertion failure pointed out by
Benjamin Otte here:

	[cairo] Assertion 'i < pen->num_vertices' failed in 1.4.10
	http://lists.cairographics.org/archives/cairo/2007-August/011282.html
2007-10-30 17:00:33 -07:00