Azar@.(none)
4c005f7ce3
replaced round with _cairo_lround. Round doesn't compile on Win32
2008-02-06 00:27:57 -05:00
Vladimir Vukicevic
7b788ce7ca
Update test ref images that changed with stroking changes
2008-02-05 15:04:38 -08:00
Vladimir Vukicevic
03256d0f2b
Remove get-xrender-format from list of tests to be run on all platforms
2008-02-05 15:04:11 -08:00
Adrian Johnson
6140776b4e
Update operator-source ps ref images
2008-02-05 00:22:26 +10:30
Adrian Johnson
dee6e27537
Add dash-curve ps ref image
2008-02-05 00:12:48 +10:30
Adrian Johnson
381fcf01d7
Update over-around-source ps ref image
2008-02-03 20:05:41 +10:30
Adrian Johnson
9dda017af9
Update gradient-alpha ps ref images
2008-02-03 19:53:35 +10:30
Adrian Johnson
3f943a98f6
Add linear-gradient-reflect ps ref image
2008-02-03 19:49:23 +10:30
Adrian Johnson
7c5bc5fde8
Add operator-clear ps ref image
2008-02-03 18:58:02 +10:30
Adrian Johnson
06b2d009ba
Update clip-operator ps ref image
2008-02-03 18:50:14 +10:30
Adrian Johnson
92a2e851df
Update operator-source PS ref images
2008-02-02 23:00:30 +10:30
Carl Worth
4ccb8cb295
Add some more reference images to REFERENCE_IMAGES
2008-01-30 05:16:26 -08:00
Carl Worth
ca10920cc9
Add a1-image-sample and a1-traps-sample reference images to the dist list
2008-01-30 05:07:20 -08:00
Carl Worth
d49b1220b2
Remove extend-pad-similar test case
...
This seems redundant with the recent testing of all test cases
against similar surfaces. Plus, it hasn't had a reference image
anyway which was causing problems with the recent extra checks
for missing reference images.
2008-01-30 04:52:50 -08:00
Carl Worth
fa6aedf2d6
Fix typo in printf arguments in error message
2008-01-29 09:01:47 -08:00
Adrian Johnson
41a5700793
Fix undefined macro that was preventing the tests from compiling
2008-01-29 20:27:06 +11:00
Carl Worth
247e101199
Fix bitmap-font test by using near-equality for double comparison
2008-01-28 21:26:05 -08:00
Carl Worth
7c00269e00
Add pdf-specific reference images for meta-surface-pattern
...
This test has been "failing" ever since we had native
replay of metasurfaces to pdf. But looking at the results,
they are actually superior to the image-backend reference
images.
2008-01-28 15:39:40 -08:00
Carl Worth
9cd198d200
Test the no-Render-extension-available case in get-xrender-format
2008-01-28 15:39:40 -08:00
Carl Worth
d7fd3bd536
Add get-xrender-format test to test cairo_xlib_surface_get_xrender_format
2008-01-28 15:39:40 -08:00
Carl Worth
13a5624277
Rename cairo_image_surface_stride_for_width to cairo_format_stride_for_width
...
Thanks for Behdad for the suggested name improvement. Also, make
it more clear that the stride passed to cairo_image_surface_create_for_data
should come from calling cairo_format_stride_for_width with the
same width.
2008-01-28 15:39:39 -08:00
Carl Worth
dc67de3d8b
Add cairo_image_surface_stride_for_width
...
Document this function as a required call to get the correct
stride value before calling cairo_image_surface_create_for_data.
This means that previously-failing calls with non-multiple-of-4
stride values are now documented as errors. Also, we now have
the possibility of moving to more stringent alignment constraints,
(one can imagine doing 64-bit or 128-bit boundaries for example).
2008-01-28 15:39:36 -08:00
Behdad Esfahbod
b18bc660c6
[test/font-matrix-translation] Fix function signature
2008-01-28 02:33:58 -05:00
Behdad Esfahbod
bae496df11
[test/bitmap-font] Test under all combinations of hinting, test font metrics too
...
This is now failing as we compute NAN font metrics for bitmap-only fonts under
disabled metrics hinting. A very infamous bug excercised with PangoCairo's PDF
output.
2008-01-25 08:03:32 -05:00
Behdad Esfahbod
20c8531243
[test/text-zero-len] Test text and font extents for font size 0
2008-01-25 07:14:07 -05:00
Behdad Esfahbod
83bd590760
[test] Test that cairo_text_extents() and cairo_scaled_font_text_extents() match
...
in results.
2008-01-25 07:02:25 -05:00
Behdad Esfahbod
2182384277
[test] Minor fix for check-ref-dups rule
2008-01-23 15:07:26 -05:00
Behdad Esfahbod
e7c0a69dcb
[test] Also check for reference images listed in Makefile.am but missing
...
in git, and if this is not a git checkout, in source directory.
2008-01-23 14:57:59 -05:00
Bertram Felgenhauer
b6c7236443
update reference images for some non-aa testcases
2008-01-23 18:09:20 +01:00
Behdad Esfahbod
5024650d4d
[test] Only summarize check results for the tests tested!
2008-01-22 12:46:03 -05:00
Carl Worth
18181f12ae
Make Carl return from his time-traveling expedition
2008-01-22 06:25:19 -08:00
Carl Worth
47cf7ed769
Test and document that fill rule has no effect on cairo_path_extents
2008-01-21 16:45:41 -08:00
Carl Worth
32efcc9462
Add new rectilinear-miter-limit test to demonstrate bug
...
We're failing to respect the miter limit in the rectilinear
stroke optimization code.
2008-01-21 16:32:48 -08:00
Carl Worth
c480eedbb5
Test and document extents of degenerate "dots"
...
It's a common idiom to stroke degenerate sub-paths made with
cairo_move_to(x,y);cairo_rel_line_to(0,0) to draw dots. Test
that we get the desired extents from cairo_fill_extents,
cairo_stroke_extents, and cairo_path_extents for these cases.
Also document that the cairo_path_extents result is equivalent
to the limit of stroking with CAIRO_LINE_CAP_ROUND, (so that
these "dot" points are included), as the line width
approaches 0.0 .
2008-01-21 14:56:21 -08:00
Carl Worth
55e0dddf04
Add cairo_path_extents testing to several cases missing it
...
With these degenerate shapes, cairo_path_extents still returns
a zero-area rectangle, but with a non-zero offset.
2008-01-21 14:45:06 -08:00
Carl Worth
c15cab8b68
Correct near-pangram to be an actual pangram
...
This wasn't affecting the test quality at all, but it did annoy
me to see this mistake.
2008-01-21 13:34:53 -08:00
Carl Worth
ed695bdb9b
Define repeated string literal once
2008-01-21 13:33:46 -08:00
Brian Ewins
4177208be6
[cairo] Add cairo_path_extents()
...
This new function gets the extents of the current path, whether
or not they would be inked by a 'fill'. It differs from
cairo_fill_extents() when the area enclosed by the path is 0.
Includes documentation and updated test.
2008-01-21 12:04:32 -08:00
Carl Worth
50d0767c8b
Add a1-image-sample and a1-traps-sample tests
...
Both of these currently fail due to bugs in the way pixman does
its sampling.
2008-01-18 12:41:57 -08:00
Chris Wilson
0086db893c
[cairo-font-options] Treat NULL as a default cairo_font_options_t
...
Interpret a NULL cairo_font_options_t as the default values - i.e
as if it were a fresh pointer returned by cairo_font_options_create().
2008-01-17 22:38:02 +00:00
Chris Wilson
630536f176
[test/extend-*] Add various cairo_pattern_set_extend() test cases.
...
Add various test cases to exercise
_cairo_pattern_acquire_surface_for_surface(), most notably using similar
source surfaces to provide coverage of the non-image surface branch.
2008-01-17 17:45:17 +00:00
Chris Wilson
7b1a0eddac
[test/get-path-extents] Exercise cairo_scaled_font_text_extents()
...
Compare cairo_scaled_font_text_extents() to cairo_text_extents() in
order to provide test coverage of cairo_scaled_font_text_extents().
2008-01-17 13:51:21 +00:00
Chris Wilson
aec7ae67aa
[test/text-zero-len] Test the public cairo_scaled_font_* with NULLs.
...
Pass NULL to cairo_scaled_font_(text|glyph)_extents() to test the
consistency of the extents API.
2008-01-17 13:32:04 +00:00
Chris Wilson
390e22894b
[test/in-fill-trapezoid] Add a few holes.
...
Complete the coverage of _cairo_trap_contains() by cutting holes out of
the simple shapes.
2008-01-17 13:13:40 +00:00
Chris Wilson
da9c43329a
[test/in-fill-trapezoid] Add test to exercise _cairo_trap_contains().
...
A simple test to provide coverage of _cairo_trap_contains(), though
not yet seeking boundary conditions.
2008-01-17 11:50:51 +00:00
Chris Wilson
dd13a00541
[test/get-path-extents] Check extents of degenerate paths.
...
Ensure that degenerate paths have zero extents.
2008-01-17 11:50:32 +00:00
Chris Wilson
9ebfa8b5fb
[Makefile.am] Couple check-ref-missing into release-check
...
Verify that all the reference images checked into git will be included
within the distribution tarball as early as possible in the release
process.
2008-01-16 23:30:15 +00:00
Chris Wilson
2621a323a0
[test/dash-curve] Add a new test case for dashes along splines.
...
Modify the dash-state test case and use curves instead of lines -
exercises _cairo_stroker_curve_to_dashed() and degenerate splines.
2008-01-16 23:24:41 +00:00
Carl Worth
5c3a0b5c00
Add miter-precision-ref.png tothe distribution.
2008-01-16 10:22:44 -08:00
Carl Worth
e49db8ed3e
Fix create-for-stream test to log its failure properly
...
Without this, a failure of this test won't be nicely reported
in the post-make-check summary. (Also fix a silly little typo
in the svg-clip test.)
2008-01-16 08:16:06 -08:00